mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@590 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user