mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Fixed an oversight in CAI_BaseNPC::TranslateActivity
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user