remove accidentally commited debug code

This commit is contained in:
Jérémy Rosen 2008-11-15 14:14:50 +00:00
parent 32e6eff8d2
commit ebbd2d06d0

View file

@ -21,7 +21,6 @@
#include "log.hpp"
#include "mouse_events.hpp"
int debug;
#define LOG_DP LOG_STREAM(info, display)
@ -196,7 +195,6 @@ void unit_attack(
const attack_type& attack, const attack_type* secondary_attack,
int swing,std::string hit_text,bool drain,std::string att_text)
{
debug = 1;
game_display* disp = game_display::get_singleton();
if(!disp || preferences::show_combat() == false) return;
unit_map& units = disp->get_units();
@ -266,7 +264,6 @@ void unit_attack(
if(leader_loc.valid() && leader_loc != att->first && leader_loc != def->first) leader->second.set_standing(leader_loc);
att->second.set_standing(a);
def->second.set_standing(b);
debug = 0;
}