Fixed rare activity translation recursion case

This commit is contained in:
Blixibon 2022-07-26 12:54:01 -05:00
parent 0cf49fbfa0
commit 9a939547c0

View File

@ -2598,11 +2598,7 @@ bool CAI_BaseNPC::FValidateHintType ( CAI_Hint *pHint )
Activity CAI_BaseNPC::GetHintActivity( short sHintType, Activity HintsActivity ) Activity CAI_BaseNPC::GetHintActivity( short sHintType, Activity HintsActivity )
{ {
if ( HintsActivity != ACT_INVALID ) if ( HintsActivity != ACT_INVALID )
#ifdef MAPBASE
return TranslateActivity( HintsActivity ); // Always translate the activity
#else
return HintsActivity; return HintsActivity;
#endif
return ACT_IDLE; return ACT_IDLE;
} }