Browse Source

Remove unneeded macro. Do not build client library.

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

4
CMakeLists.txt

@ -29,7 +29,7 @@ project (HLSDK-XASH3D) @@ -29,7 +29,7 @@ project (HLSDK-XASH3D)
option(USE_VGUI "Enable VGUI1. UNDONE" OFF)
option(USE_VGUI2 "Enable VGUI2. UNDONE" 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)
#-----------------
@ -59,4 +59,4 @@ endif() @@ -59,4 +59,4 @@ endif()
if(NOT BUILD_SERVER AND NOT BUILD_CLIENT)
error("Nothing to build")
endif()
endif()

4
dlls/halloween/shall_map_fixes.cpp

@ -25,8 +25,6 @@ @@ -25,8 +25,6 @@
#include "gamerules.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 )
static CBaseEntity* CreateItemAtPosition(char* classname, const Vector& position, const Vector& angles)
@ -791,5 +789,3 @@ void MapFixes_ApplyAllPossibleFixes() @@ -791,5 +789,3 @@ void MapFixes_ApplyAllPossibleFixes()
GetMapFixesSingleton()->ApplyMapFixWoods();
}
}
#endif // defined ( SHALL_MAPFIXES )
Loading…
Cancel
Save