Compiler option for playing with npctype_cache as was requested for a feature. Not entirely tested may need some work. Currently defaults to old behavior on #repop.

This commit is contained in:
KimLS
2014-01-31 20:38:32 -08:00
parent 1ab19920f4
commit 6e0a214bcc
6 changed files with 60 additions and 1 deletions
+4
View File
@@ -200,6 +200,10 @@ SET(zone_headers
zonedump.h
)
IF(EQEMU_DEPOP_INVALIDATES_CACHE)
ADD_DEFINITIONS(-DDEPOP_INVALIDATES_NPC_TYPES_CACHE)
ENDIF(EQEMU_DEPOP_INVALIDATES_CACHE)
ADD_EXECUTABLE(zone ${zone_sources} ${zone_headers})
INSTALL(TARGETS zone RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX})