Fixed an oversight in CAI_BaseNPC::TranslateActivity

This commit is contained in:
Blixibon 2022-07-16 12:03:56 -05:00
parent 0615b367ca
commit fe518c9859

View File

@ -6827,7 +6827,11 @@ Activity CAI_BaseNPC::TranslateActivity( Activity idealActivity, Activity *pIdea
return baseTranslation; return baseTranslation;
if ( idealWeaponActivity != baseTranslation && HaveSequenceForActivity( idealWeaponActivity ) ) if ( idealWeaponActivity != baseTranslation && HaveSequenceForActivity( idealWeaponActivity ) )
#ifdef MAPBASE
return idealWeaponActivity;
#else
return idealActivity; return idealActivity;
#endif
if ( idealActivity != idealWeaponActivity && HaveSequenceForActivity( idealActivity ) ) if ( idealActivity != idealWeaponActivity && HaveSequenceForActivity( idealActivity ) )
return idealActivity; return idealActivity;