Changed: Renamed RZ_PATCH to RZ_USE_PATCH

This commit is contained in:
kervala 2014-03-23 20:25:48 +01:00
parent ce8e205813
commit 101f69fe00
2 changed files with 7 additions and 7 deletions

View file

@ -4,15 +4,15 @@ ADD_SUBDIRECTORY(client_sheets)
IF(WITH_RYZOM_CLIENT) IF(WITH_RYZOM_CLIENT)
IF(WITH_RYZOM_PATCH)
ADD_DEFINITIONS(-DRZ_USE_PATCH)
ENDIF(WITH_RYZOM_PATCH)
# These are Windows/MFC apps # These are Windows/MFC apps
SET(SEVENZIP_LIBRARY "ryzom_sevenzip") SET(SEVENZIP_LIBRARY "ryzom_sevenzip")
ADD_SUBDIRECTORY(seven_zip) ADD_SUBDIRECTORY(seven_zip)
IF(WITH_RYZOM_PATCH)
ADD_DEFINITIONS(-DRZ_USE_PATCH)
ENDIF(WITH_RYZOM_PATCH)
FILE(GLOB CFG ../*.cfg ../*.cfg.in) FILE(GLOB CFG ../*.cfg ../*.cfg.in)
FILE(GLOB SRC *.cpp *.h motion/*.cpp motion/*.h client.rc) FILE(GLOB SRC *.cpp *.h motion/*.cpp motion/*.h client.rc)
FILE(GLOB SRC_INTERFACE interface_v3/*.h interface_v3/*.cpp) FILE(GLOB SRC_INTERFACE interface_v3/*.h interface_v3/*.cpp)

View file

@ -422,11 +422,11 @@ CClientConfig::CClientConfig()
MouseOverFX = "sfx_selection_mouseover.ps"; MouseOverFX = "sfx_selection_mouseover.ps";
SelectionFXSize = 0.8f; SelectionFXSize = 0.8f;
#if RZ_PATCH #if RZ_USE_PATCH
PatchWanted = true; PatchWanted = true;
#else #else
PatchWanted = false; PatchWanted = false;
#endif #endif
PatchUrl.clear(); PatchUrl.clear();
PatchletUrl.clear(); PatchletUrl.clear();