Browse Source

Remove unneeded macro. Do not build client library.

halloween
Night Owl 7 years ago
parent
commit
35a2af4f3d
  1. 2
      CMakeLists.txt
  2. 4
      dlls/halloween/shall_map_fixes.cpp

2
CMakeLists.txt

@ -29,7 +29,7 @@ project (HLSDK-XASH3D)
option(USE_VGUI "Enable VGUI1. UNDONE" OFF) option(USE_VGUI "Enable VGUI1. UNDONE" OFF)
option(USE_VGUI2 "Enable VGUI2. UNDONE" OFF) option(USE_VGUI2 "Enable VGUI2. UNDONE" OFF)
option(USE_VOICEMGR "Enable VOICE MANAGER." OFF) option(USE_VOICEMGR "Enable VOICE MANAGER." OFF)
option(BUILD_CLIENT "Build client dll" ON) option(BUILD_CLIENT "Build client dll" OFF)
option(BUILD_SERVER "Build server dll" ON) option(BUILD_SERVER "Build server dll" ON)
#----------------- #-----------------

4
dlls/halloween/shall_map_fixes.cpp

@ -25,8 +25,6 @@
#include "gamerules.h" #include "gamerules.h"
#include "shall_map_fixes.h" #include "shall_map_fixes.h"
#if defined ( SHALL_MAPFIXES )
#define RANDOM_ANGLE() Vector( 0, RANDOM_LONG(1, 6) * RANDOM_LONG(1, 6) * RANDOM_LONG(1, 10), 0 ) #define RANDOM_ANGLE() Vector( 0, RANDOM_LONG(1, 6) * RANDOM_LONG(1, 6) * RANDOM_LONG(1, 10), 0 )
static CBaseEntity* CreateItemAtPosition(char* classname, const Vector& position, const Vector& angles) static CBaseEntity* CreateItemAtPosition(char* classname, const Vector& position, const Vector& angles)
@ -791,5 +789,3 @@ void MapFixes_ApplyAllPossibleFixes()
GetMapFixesSingleton()->ApplyMapFixWoods(); GetMapFixesSingleton()->ApplyMapFixWoods();
} }
} }
#endif // defined ( SHALL_MAPFIXES )
Loading…
Cancel
Save