summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cheat_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index e79e907cd..b6aefd18a 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -165,7 +165,7 @@ struct CheatWindow : Window {
/* Draw colored flag for change company cheat */
case STR_CHEAT_CHANGE_COMPANY:
- SetDParam(0, val);
+ SetDParam(0, val + 1);
GetString(buf, STR_CHEAT_CHANGE_COMPANY, lastof(buf));
DrawCompanyIcon(_current_company, 60 + GetStringBoundingBox(buf).width, y + 2);
break;