mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 23:05:30 +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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user