diff options
author | Filippos Karapetis | 2007-06-15 16:26:14 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-15 16:26:14 +0000 |
commit | e6fe560ad19f2efcb0a573f93865277ffc26418f (patch) | |
tree | b38b38c831b7eb058be96681912a2b47d28ed489 | |
parent | 021a66a0ab3a56234de28a1e27828e500d256be5 (diff) | |
download | scummvm-rg350-e6fe560ad19f2efcb0a573f93865277ffc26418f.tar.gz scummvm-rg350-e6fe560ad19f2efcb0a573f93865277ffc26418f.tar.bz2 scummvm-rg350-e6fe560ad19f2efcb0a573f93865277ffc26418f.zip |
IHNM no longer crashes during character selection if the mouse cursor is over a character before AM finishes his speech
svn-id: r27418
-rw-r--r-- | engines/saga/saga.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp index 5aa6c40572..99462c5583 100644 --- a/engines/saga/saga.cpp +++ b/engines/saga/saga.cpp @@ -353,6 +353,11 @@ const char *SagaEngine::getObjectName(uint16 objectId) { ActorData *actor; ObjectData *obj; const HitZone *hitZone; + + // Disable the object names in IHNM when the chapter is 8 + if (getGameType() == GType_IHNM && _scene->currentChapterNumber() == 8) + return ""; + switch (objectTypeId(objectId)) { case kGameObjectObject: obj = _actor->getObj(objectId); |