DRACI: Fix warnings

svn-id: r52144
This commit is contained in:
Eugene Sandulenko 2010-08-17 10:59:11 +00:00
parent db8b322219
commit 2a3f985566

View File

@ -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);
}