Follow-up Comment #4, patch #3083 (project wesnoth):
src/unit_display.cpp: In function ‘void unit_display::unit_attack(const
map_location&, const map_location&, int, const attack_type&, const
attack_type*, int, std::string, bool, int, std::string)’:
src/unit_display.cpp:345: error: expected primary-expression before ‘int’
There's actually no abs function (guaranteed to be) anywhere in the standard
library. That's why there are a couple round functions in src/util.hpp
Also, have you considered the possibility (and effects) of both attacker and
defender dying due to neg_drain?
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3083>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs