1
This commit is contained in:
parent
09bcbe9142
commit
94317b5a79
@ -9,7 +9,7 @@ else()
|
||||
endif()
|
||||
|
||||
set(CMAKE_BUILD_TYPE "Debug")
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
#set(CMAKE_BUILD_TYPE "Release")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -g -std=gnu++11 -DGAME_ID=${GAME_ID} -DA8_TCP_SESSION2=1 -DMAP_SERVICE=1")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DGAME_ID=${GAME_ID} -DA8_TCP_SESSION2=1 -DMAP_SERVICE=1")
|
||||
|
||||
@ -85,4 +85,5 @@ target_link_libraries(
|
||||
curl
|
||||
hiredis
|
||||
tinyxml2
|
||||
tcmalloc
|
||||
)
|
||||
|
@ -11,7 +11,7 @@
|
||||
Obstacle::Obstacle():Entity()
|
||||
{
|
||||
entity_type = ET_Obstacle;
|
||||
--App::Instance()->perf.entity_num[ET_Obstacle];
|
||||
++App::Instance()->perf.entity_num[ET_Obstacle];
|
||||
}
|
||||
|
||||
Obstacle::~Obstacle()
|
||||
|
Loading…
x
Reference in New Issue
Block a user