mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-12 07:58:05 +00:00
Enable more crowbar fixes for Blue Shift
This commit is contained in:
parent
d39c4158e3
commit
5f8afd6e79
@ -25,7 +25,7 @@ project (CLDLL)
|
|||||||
|
|
||||||
set (CLDLL_LIBRARY client)
|
set (CLDLL_LIBRARY client)
|
||||||
|
|
||||||
add_definitions(-DCLIENT_WEAPONS -DCLIENT_DLL -DCROWBAR_IDLE_ANIM)
|
add_definitions(-DCLIENT_WEAPONS -DCLIENT_DLL -DCROWBAR_IDLE_ANIM -DCROWBAR_FIX_RAPID_CROWBAR -DCROWBAR_DELAY_FIX)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_compile_options(-fno-exceptions) # GCC/Clang flag
|
add_compile_options(-fno-exceptions) # GCC/Clang flag
|
||||||
|
@ -25,7 +25,7 @@ project (SVDLL)
|
|||||||
|
|
||||||
set (SVDLL_LIBRARY server)
|
set (SVDLL_LIBRARY server)
|
||||||
|
|
||||||
add_definitions(-DCLIENT_WEAPONS -DCROWBAR_IDLE_ANIM)
|
add_definitions(-DCLIENT_WEAPONS -DCROWBAR_IDLE_ANIM -DCROWBAR_FIX_RAPID_CROWBAR -DCROWBAR_DELAY_FIX)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_compile_options(-fno-exceptions) # GCC/Clang flag
|
add_compile_options(-fno-exceptions) # GCC/Clang flag
|
||||||
|
@ -335,7 +335,7 @@ int CCrowbar::Swing( int fFirst )
|
|||||||
SetThink( &CCrowbar::Smack );
|
SetThink( &CCrowbar::Smack );
|
||||||
pev->nextthink = UTIL_WeaponTimeBase() + 0.2;
|
pev->nextthink = UTIL_WeaponTimeBase() + 0.2;
|
||||||
#endif
|
#endif
|
||||||
#if CROWBAR_DELAY_FIX
|
#ifdef CROWBAR_DELAY_FIX
|
||||||
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25;
|
m_flNextPrimaryAttack = UTIL_WeaponTimeBase() + 0.25;
|
||||||
#else
|
#else
|
||||||
m_flNextPrimaryAttack = GetNextAttackDelay( 0.25 );
|
m_flNextPrimaryAttack = GetNextAttackDelay( 0.25 );
|
||||||
|
Loading…
Reference in New Issue
Block a user