[-] Fixed compilation on gcc

This commit is contained in:
cybermind 2015-03-07 10:13:43 +05:00
parent 738641270a
commit 6c3452f8c4

View file

@ -112,7 +112,7 @@ void SaveGameSettings(CFile &file)
file.printf("\nGameSettings.NetGameType = %d\n", GameSettings.NetGameType);
for (int i = 0; i < PlayerMax - 1; ++i) {
file.printf("GameSettings.Presets[%d].PlayerColor = %d\n", i, GameSettings.Presets[i].PlayerColor);
file.printf("GameSettings.Presets[%d].AIScript = \"%s\"\n", i, GameSettings.Presets[i].AIScript);
file.printf("GameSettings.Presets[%d].AIScript = \"%s\"\n", i, GameSettings.Presets[i].AIScript.c_str());
file.printf("GameSettings.Presets[%d].Race = %d\n", i, GameSettings.Presets[i].Race);
file.printf("GameSettings.Presets[%d].Team = %d\n", i, GameSettings.Presets[i].Team);
file.printf("GameSettings.Presets[%d].Type = %d\n", i, GameSettings.Presets[i].Type);