Update of /cvsroot/gcblue/gcb_wx/src/scriptinterface
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14428/src/scriptinterface
Modified Files:
tcPlatformInterface.cpp tcScenarioInterface.cpp
Log Message:
Changes up to 0.8.1
Index: tcPlatformInterface.cpp
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/src/scriptinterface/tcPlatformInterface.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** tcPlatformInterface.cpp 18 Dec 2005 04:10:33 -0000 1.57
--- tcPlatformInterface.cpp 14 Jan 2006 17:13:59 -0000 1.58
***************
*** 1417,1420 ****
--- 1417,1421 ----
if (!mpPlatformObj->IsEditMode()) return;
+ if (s.size() < 2) return;
mpSimState->RenameObject(mpPlatformObj, s);
}
Index: tcScenarioInterface.cpp
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/src/scriptinterface/tcScenarioInterface.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** tcScenarioInterface.cpp 18 Dec 2005 18:48:17 -0000 1.36
--- tcScenarioInterface.cpp 14 Jan 2006 17:13:59 -0000 1.37
***************
*** 251,256 ****
}
-
-
bool tcScenarioInterface::AddUnitToAlliance(scriptinterface::tcScenarioUnit unit, int alliance)
{
--- 251,254 ----
|