DRACI: Fix warnings
svn-id: r52144
This commit is contained in:
parent
db8b322219
commit
2a3f985566
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue