Skip to content

Commit eb2e8d5

Browse files
authored
Merge pull request #84 from 1upD/mapbase/css-viewmodel-chirality
Enable Counter-Strike Source view model chirality in Mapbase
2 parents b4717f3 + 2087f90 commit eb2e8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sp/src/game/client/c_baseviewmodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// memdbgon must be the last include file in a .cpp file!!!
3333
#include "tier0/memdbgon.h"
3434

35-
#ifdef CSTRIKE_DLL
35+
#if defined(CSTRIKE_DLL) || defined (MAPBASE)
3636
ConVar cl_righthand( "cl_righthand", "1", FCVAR_ARCHIVE, "Use right-handed view models." );
3737
#endif
3838

@@ -194,7 +194,7 @@ bool C_BaseViewModel::Interpolate( float currentTime )
194194

195195
inline bool C_BaseViewModel::ShouldFlipViewModel()
196196
{
197-
#ifdef CSTRIKE_DLL
197+
#if defined(CSTRIKE_DLL) || defined (MAPBASE)
198198
// If cl_righthand is set, then we want them all right-handed.
199199
CBaseCombatWeapon *pWeapon = m_hWeapon.Get();
200200
if ( pWeapon )

0 commit comments

Comments
 (0)