Disable entire function

Leaving bits and pieces around leads to compiler warnings.
This commit is contained in:
Gregory A Lundberg 2018-03-19 12:13:31 -05:00
parent c187f069e8
commit 419385d934
No known key found for this signature in database
GPG key ID: 149484078AE8AE9E

View file

@ -166,6 +166,8 @@ void attack::remove_temp_modifier(unit_map& unit_map)
move::remove_temp_modifier(unit_map);
}
#if 0
// IF you're going to disable some code, disable all of it!
void attack::draw_hex(const map_location& hex)
{
if (hex == get_dest_hex() || hex == target_hex_) //draw attack indicator
@ -196,6 +198,9 @@ void attack::draw_hex(const map_location& hex)
}
}
}
#else
void attack::draw_hex(const map_location&) {}
#endif
void attack::redraw()
{