diff options
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r-- | engines/xeen/scripts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 7aab04c4c4..0d701fe3da 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -503,6 +503,7 @@ void Scripts::cmdSpawn(Common::Array<byte> ¶ms) { MazeMonster &monster = _vm->_map->_mobData._monsters[params[0]]; MonsterStruct &monsterData = _vm->_map->_monsterData[monster._spriteId]; + monster._monsterData = &monsterData; monster._position.x = params[1]; monster._position.y = params[2]; monster._frame = _vm->getRandomNumber(7); |