[Gtkradiant] [Bug 917] adjusting entity window splits causes crash on next editor start

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Sun, 09 Nov 2003 21:35:07 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=917





------- Additional Comments From rfm@collectivecomputing.com  2003-11-09 21:35 -------
Created an attachment (id=526)
 --> (http://zerowing.idsoftware.com/bugzilla/attachment.cgi?id=526&action=view)
patch that stops the crashing.

the bottom line seems to be that groupdialog.cpp:UpdateSel  doesnt expect to be
called while world_entity is still NULL. (we haven't yet done Map_LoadFile or
Map_New in main when this gets called)

This patch stops the crashing by bailing out of eclasslist_selection_changed if
there is no world entity, but I have no idea if it is the right way to fix
this, or if there are other bugs in the same family.