summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 6131050cf..46fff1a51 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -326,7 +326,7 @@ struct MainWindow : Window
case GHK_MONEY: // Gimme money
/* You can only cheat for money in singleplayer mode. */
- if (!_networking) DoCommandP(0, 10000000, 0, CMD_MONEY_CHEAT);
+ if (!_networking) DoCommandP(CMD_MONEY_CHEAT, 0, 10000000, 0);
break;
case GHK_UPDATE_COORDS: // Update the coordinates of all station signs