Remove unneeded macro. Do not build client library.

This commit is contained in:
Night Owl 2017-07-30 16:48:39 +05:00
parent 0c7cf2f1de
commit 35a2af4f3d
2 changed files with 2 additions and 6 deletions

View File

@ -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()
if(NOT BUILD_SERVER AND NOT BUILD_CLIENT)
error("Nothing to build")
endif()
endif()

View File

@ -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()
GetMapFixesSingleton()->ApplyMapFixWoods();
}
}
#endif // defined ( SHALL_MAPFIXES )