Quuxplusone / Homeworlds

A C++ framework for working with the game of Binary Homeworlds, including a text interface to a simple AI.
http://boardgamegeek.com/boardgame/14634/homeworlds
Other
22 stars 4 forks source link

Fixed assert "index < m_children.GetCount()" #3

Closed wduminy closed 7 years ago

wduminy commented 7 years ago

When clicking in incorrect window location; program displayed errors. This has been fixed by a bounds check.

/src/common/sizer.cpp(1203): assert "index < m_children.GetCount()" failed in GetItem(): GetItem index is out of range
./src/common/sizer.cpp(1203): assert "index < m_children.GetCount()" failed in GetItem(): GetItem index is out of range
Quuxplusone commented 7 years ago

@codespear: LGTM, thanks!