forked from mirrors/0ad
Send Load event to GUI objects after (instead of while) loading the rest of the engine
This was SVN commit r1635.
This commit is contained in:
@@ -499,7 +499,6 @@ void CGUI::AddObject(IGUIObject* pObject)
|
||||
|
||||
// Loaded
|
||||
GUI<SGUIMessage>::RecurseObject(0, pObject, &IGUIObject::HandleMessage, SGUIMessage(GUIM_LOAD));
|
||||
GUI<CStr>::RecurseObject(0, pObject, &IGUIObject::ScriptEvent, "load");
|
||||
}
|
||||
catch (PS_RESULT e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user