mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 22:35:31 +03:00
Fixed an oversight in CAI_BaseNPC::TranslateActivity
This commit is contained in:
parent
0615b367ca
commit
fe518c9859
@ -6827,7 +6827,11 @@ Activity CAI_BaseNPC::TranslateActivity( Activity idealActivity, Activity *pIdea
|
||||
return baseTranslation;
|
||||
|
||||
if ( idealWeaponActivity != baseTranslation && HaveSequenceForActivity( idealWeaponActivity ) )
|
||||
#ifdef MAPBASE
|
||||
return idealWeaponActivity;
|
||||
#else
|
||||
return idealActivity;
|
||||
#endif
|
||||
|
||||
if ( idealActivity != idealWeaponActivity && HaveSequenceForActivity( idealActivity ) )
|
||||
return idealActivity;
|
||||
|
Loading…
Reference in New Issue
Block a user