NANCY: Fix nancy1 telephone hints

A fix for some broken nancy3 phone calls resulted in
the nancy1 hint system not working. This commit makes
sure the fix only applies to later games, which do not use
the HintSystem action record.
This commit is contained in:
Kaloyan Chehlarski 2023-12-28 22:55:11 +02:00
parent caf29003bd
commit 71558e8503

View File

@ -241,8 +241,10 @@ void Telephone::execute() {
break;
case kCall: {
PhoneCall &call = _calls[_selected];
if (call.sceneChange._sceneChange.sceneID == kNoScene) {
// Make sure we don't get stuck here. Happens in nancy3 when calling George's number
// Make sure we don't get stuck here. Happens in nancy3 when calling George's number
// Check ignored in nancy1 since the HintSystem AR is in the same scene as the Telephone
if (call.sceneChange._sceneChange.sceneID == kNoScene && g_nancy->getGameType() != kGameTypeNancy1) {
call.sceneChange._sceneChange = NancySceneState.getSceneInfo();
}