diff options
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/snail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index 2cd5aca493..0bf63839e9 100644 --- a/engines/cge2/snail.cpp +++ b/engines/cge2/snail.cpp @@ -103,7 +103,7 @@ void CommandHandler::runCommand() { spr = (tailCmd._ref < 0) ? ((Sprite *)tailCmd._spritePtr) : _vm->locate(tailCmd._ref); Common::String sprStr; - if (spr && spr->_file && (tailCmd._commandType != kCmdGhost)) + if (spr && *spr->_file && (tailCmd._commandType != kCmdGhost)) // In case of kCmdGhost _spritePtr stores a pointer to a Bitmap, not to a Sprite... sprStr = Common::String(spr->_file); else |