1
This commit is contained in:
parent
45a0675eb3
commit
b422959442
@ -1,12 +1,7 @@
|
||||
project(gameserver)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
if (${GAME_ID})
|
||||
message(GAME_ID: ${GAME_ID})
|
||||
else()
|
||||
set(GAME_ID 2001)
|
||||
message(GAME_ID: ${GAME_ID})
|
||||
endif()
|
||||
set(GAME_ID 2002)
|
||||
|
||||
set(CMAKE_BUILD_TYPE "Debug")
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
|
@ -1194,6 +1194,7 @@ void Human::FillMFGasData(cs::MFGasData* gas_data)
|
||||
(room->frame_no - room->gas_data.gas_start_frameno);
|
||||
gas_data->set_duration(std::max(duration * 50, (long long)1000) / 1000);
|
||||
} else {
|
||||
#if 0
|
||||
if (room->gas_data.old_area_meta->i->wait_time() <= 0) {
|
||||
gas_data->set_duration(0);
|
||||
} else {
|
||||
@ -1201,6 +1202,7 @@ void Human::FillMFGasData(cs::MFGasData* gas_data)
|
||||
(room->frame_no - room->gas_data.gas_start_frameno);
|
||||
gas_data->set_duration(std::max(duration * 50, (long long)1000) / 1000);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
TypeConvert::ToPb(room->gas_data.pos_old, gas_data->mutable_pos_old());
|
||||
TypeConvert::ToPb(room->gas_data.pos_new, gas_data->mutable_pos_new());
|
||||
|
Loading…
x
Reference in New Issue
Block a user