Disable GUI2 unit create dialog for release...

...so it doesn't interfer with other --new-widgets testing with its
memory corruption
This commit is contained in:
Ignacio R. Morelle 2009-08-29 01:24:51 +00:00
parent ab236e3576
commit 4146766fdb

View file

@ -1411,10 +1411,13 @@ private:
void menu_handler::create_unit(mouse_handler& mousehandler)
{
#if 0
/** @todo: reenable after releasing 1.7.4; as-is causes memory corruption */
if(gui2::new_widgets) {
create_unit_2(mousehandler);
return;
}
#endif
std::vector<std::string> options;
static int last_selection = -1;