diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 544306d8..ac9460f0 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1079,7 +1079,7 @@ void Human::DecHP(float dec_hp, int killer_id, const std::string& killer_name, i return; } #ifdef DEBUG - #if 1 + #if 0 if (IsPlayer()) { return; } diff --git a/server/gameserver/player.cc b/server/gameserver/player.cc index 68af18f4..07c8fd79 100644 --- a/server/gameserver/player.cc +++ b/server/gameserver/player.cc @@ -44,6 +44,7 @@ void Player::Initialize() SetInfiniteBulletMode(); } #ifdef DEBUG + #if 0 room->xtimer.AddDeadLineTimerAndAttach (SERVER_FRAME_RATE * 10, a8::XParams() @@ -54,6 +55,7 @@ void Player::Initialize() hum->SetHP(hum->GetHP() - 100); }, &xtimer_attacher.timer_list_); + #endif #endif }