mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-28 22:57:55 +03:00
Fixed VS2013 compile error
This commit is contained in:
parent
f965afde16
commit
ebf24e98e3
@ -7856,7 +7856,7 @@ Activity CBasePlayer::Weapon_TranslateActivity( Activity baseAct, bool *pRequire
|
|||||||
if ( GetModelPtr() && (!GetModelPtr()->HaveSequenceForActivity(weaponTranslation) || baseAct == 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
|
// 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);
|
Activity backupActivity = Weapon_BackupActivity(baseAct, pRequired ? *pRequired : false);
|
||||||
if ( baseAct != backupActivity && GetModelPtr()->HaveSequenceForActivity(backupActivity) )
|
if ( baseAct != backupActivity && GetModelPtr()->HaveSequenceForActivity(backupActivity) )
|
||||||
return backupActivity;
|
return backupActivity;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user