mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 14:25:32 +03:00
Improved player backup activities
This commit is contained in:
parent
17e8558ca4
commit
9b84980a77
@ -7824,7 +7824,7 @@ Activity CBasePlayer::Weapon_TranslateActivity( Activity baseAct, bool *pRequire
|
||||
// Our weapon is holstered. Use the base activity.
|
||||
return baseAct;
|
||||
}
|
||||
if ( GetModelPtr() && !GetModelPtr()->HaveSequenceForActivity(weaponTranslation) )
|
||||
if ( GetModelPtr() && (!GetModelPtr()->HaveSequenceForActivity(weaponTranslation) || baseAct == weaponTranslation) )
|
||||
{
|
||||
// This is used so players can fall back to backup activities in the same way NPCs in Mapbase can
|
||||
Activity backupActivity = Weapon_BackupActivity(baseAct, pRequired);
|
||||
|
Loading…
Reference in New Issue
Block a user