Changeset 888 – HoverRace

Changeset 888

Show
Ignore:
Timestamp:
03/02/10 16:50:04 (5 months ago)
Author:
zoogie
Message:

The first-choice dialog is causing the scripting on_init bit to be called too early, before it's actually initialized.

Temporarily disabling on_init in this case.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/client/Game2/GameApp.cpp

    r880 r888  
    12161216 
    12171217    // Create the system console and execute the init script. 
     1218    OutputDebugString("Creating system console.\n"); 
    12181219    sysConsole = new SysConsole(); 
    12191220    sysConsole->Init(); 
     
    20042005 
    20052006        case MR_WM_ON_INIT: 
    2006             This->sysConsole->OnInit(); 
     2007            //FIXME: First choice dialog causing this to be called prematurely. 
     2008            if (This->sysConsole) 
     2009                This->sysConsole->OnInit(); 
    20072010            break; 
    20082011