mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-26 06:18:23 +00:00
DRACI: Fix warnings
svn-id: r52144
This commit is contained in:
parent
db8b322219
commit
2a3f985566
@ -967,7 +967,7 @@ int Script::handleMathExpression(Common::MemoryReadStream *reader) const {
|
||||
func = _functionList[value-1];
|
||||
|
||||
// If not yet implemented
|
||||
if (func._handler == NULL) {
|
||||
if (func._handler == 0) {
|
||||
stk.pop();
|
||||
|
||||
// Pushing dummy value
|
||||
@ -1170,7 +1170,7 @@ void Script::run(const GPL2Program &program, uint16 offset) {
|
||||
|
||||
GPLHandler handler = cmd->_handler;
|
||||
|
||||
if (handler != NULL) {
|
||||
if (handler != 0) {
|
||||
// Call the handler for the current command
|
||||
(this->*(cmd->_handler))(params);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user