Changeset 468

Show
Ignore:
Timestamp:
01/16/12 23:31:14 (4 months ago)
Author:
Carsten
Message:

CaWE: Pass proper -svGame parameter when running Cafu from CaWE.

Closes #92.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cafu/trunk/CaWE/ChildFrame.cpp

    r455 r468  
    13061306                    if (CE.GetId()==ID_MENU_COMPILE_CUSTOM) Params=" "+CustomCompileDialog.GetEngineOptions(); 
    13071307 
    1308                     PendingCompileCommands.PushBack(Options.general.EngineExe+" \""+WorldName.GetName()+"\""+Params); 
     1308                    PendingCompileCommands.PushBack(Options.general.EngineExe + 
     1309                        " -svGame \"" + m_Doc->GetGameConfig()->Name + "\"" + 
     1310                        " -svWorld \"" + WorldName.GetName() + "\"" + Params); 
    13091311                } 
    13101312            }