summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Player.cpp')
-rw-r--r--Stars45/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Player.cpp b/Stars45/Player.cpp
index 4a7c8aa..a042fd3 100644
--- a/Stars45/Player.cpp
+++ b/Stars45/Player.cpp
@@ -1193,7 +1193,7 @@ Player::Save()
fprintf(f, " chat_%d: \"%s\",\n", i, SafeQuotes(p->chat_macros[i].data()));
}
- for (i = 0; i < 3; i++) {
+ for (int i = 0; i < 3; i++) {
if (p->mfd[i] >= 0) {
fprintf(f, " mfd%d: %d,\n", i, p->mfd[i]);
}