diff options
author | Eugene Sandulenko | 2010-08-17 10:59:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-17 10:59:11 +0000 |
commit | 2a3f98556660f0471609a3897a570ea10b339857 (patch) | |
tree | 2bf12f2e2273aa29b958c6981a22721428eacb24 | |
parent | db8b322219b39b7f5ef3049d39b3fd92939643a2 (diff) | |
download | scummvm-rg350-2a3f98556660f0471609a3897a570ea10b339857.tar.gz scummvm-rg350-2a3f98556660f0471609a3897a570ea10b339857.tar.bz2 scummvm-rg350-2a3f98556660f0471609a3897a570ea10b339857.zip |
DRACI: Fix warnings
svn-id: r52144
-rw-r--r-- | engines/draci/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp index 7a6a68618d..f657dfe33c 100644 --- a/engines/draci/script.cpp +++ b/engines/draci/script.cpp @@ -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); } |