summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cheat_gui.cpp')
-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 bfb9a2b6f..ac0324682 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -166,7 +166,7 @@ struct CheatWindow : Window {
case STR_CHEAT_CHANGE_COMPANY:
SetDParam(0, val + 1);
GetString(buf, STR_CHEAT_CHANGE_COMPANY, lastof(buf));
- DrawCompanyIcon(_current_company, 60 + GetStringBoundingBox(buf).width, y + 2);
+ DrawCompanyIcon(_local_company, 60 + GetStringBoundingBox(buf).width, y + 2);
break;
/* Set correct string for switch climate cheat */