This commit is contained in:
Wanne
2006-10-04 12:24:10 +00:00
parent 0c0f6eafad
commit 4341409ded
22 changed files with 481 additions and 285 deletions
+1 -1
View File
@@ -1176,7 +1176,7 @@ UINT32 UIHandleEndTurn( UI_EVENT *pUIEvent )
// to an option setting.
// So no more need to have a file AutoSave.pls in you ja2 root directory
//if( FileExists( "..\\AutoSave.pls" ) && CanGameBeSaved() )
if (gGameExternalOptions.gfUseAutoSave == TRUE && CanGameBeSaved() )
if (gGameSettings.fOptions[TOPTION_USE_AUTO_SAVE] == TRUE && CanGameBeSaved() )
{
//Save the game
guiPreviousOptionScreen = guiCurrentScreen;
+12
View File
@@ -130,7 +130,13 @@ ammoEndElementHandle(void *userData, const char *name)
{
for(int i=0;i<min((int)strlen(pData->szCharData),MAX_CHAR_DATA_LENGTH);i++)
{
// WANNE: TODO with ReplaceGermanSpecificCharacters() Method
#ifdef GERMAN
temp = pData->szCharData[i];
#else
temp = pData->szCharData[i];
#endif
AmmoCaliber[pData->curIndex][i] = temp;
}
}
@@ -143,7 +149,13 @@ ammoEndElementHandle(void *userData, const char *name)
{
for(int i=0;i<min((int)strlen(pData->szCharData),MAX_CHAR_DATA_LENGTH);i++)
{
// WANNE: TODO with ReplaceGermanSpecificCharacters() Method
#ifdef GERMAN
temp = pData->szCharData[i];
#else
temp = pData->szCharData[i];
#endif
BobbyRayAmmoCaliber[pData->curIndex][i] = temp;
}
}