diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp index ce05d763e67..eb95b9cd521 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 (tailCmd._commandType != kCmdGhost && spr && *spr->_file) // In case of kCmdGhost _spritePtr stores a pointer to a Bitmap, not to a Sprite... sprStr = Common::String(spr->_file); else