summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CampaignSaveGame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/CampaignSaveGame.cpp')
-rw-r--r--Stars45/CampaignSaveGame.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Stars45/CampaignSaveGame.cpp b/Stars45/CampaignSaveGame.cpp
index b63fc4e..4caf0d6 100644
--- a/Stars45/CampaignSaveGame.cpp
+++ b/Stars45/CampaignSaveGame.cpp
@@ -226,7 +226,7 @@ CampaignSaveGame::Load(const char* filename)
Sleep(5);
delete term; term = 0;
term = parser.ParseTerm();
-
+
if (term) {
TermDef* def = term->isDef();
if (def) {
@@ -505,7 +505,7 @@ CampaignSaveGame::Load(const char* filename)
CombatGroup* player_group = campaign->FindGroup(grp_iff, grp_type, grp_id);
if (player_group) {
CombatUnit* player_unit = 0;
-
+
if (unit.length())
player_unit = player_group->FindUnit(unit);
@@ -633,7 +633,7 @@ CampaignSaveGame::Save(const char* name)
while (++a_iter) {
CombatAction* a = a_iter.value();
fprintf(f, "action: { id:%4d, stat:%d", a->Identity(), a->Status());
-
+
if (a->Status() == CombatAction::PENDING) {
if (a->Count())
fprintf(f, ", count:%d", a->Count());
@@ -734,7 +734,7 @@ CampaignSaveGame::GetResumeFile()
// check for auto save game:
FILE* f;
::fopen_s(&f, GetSaveDirectory() + "/AutoSave", "r");
-
+
if (f) {
::fclose(f);