From e6fe560ad19f2efcb0a573f93865277ffc26418f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 15 Jun 2007 16:26:14 +0000 Subject: IHNM no longer crashes during character selection if the mouse cursor is over a character before AM finishes his speech svn-id: r27418 --- engines/saga/saga.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/saga/saga.cpp') 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); -- cgit v1.2.3