Update of bug #25080 (project wesnoth):
Release: git => 1.13.5+dev
_______________________________________________________
Follow-up Comment #1:
The code hasn't changed since this was first reported:
for(int i = 0; i < 9; ++i) {
if(direction_buttons_[i]->get_value()
&& static_cast<int>(expand_direction_) != i) {
expand_direction_ = static_cast<EXPAND_DIRECTION>(i);
break;
}
}
Within the loop, i should only ever be 0 to 8 inclusive. EXPAND_DIRECTION is
an enumeration defined as integers from 0 to 8 inclusive. So I'm really
curious as to how i became 11273260 when it's cast to EXPAND_DIRECTION. :S
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25080>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs