diff options
author | tron <tron@openttd.org> | 2004-11-14 19:44:06 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-14 19:44:06 +0000 |
commit | 249a170acef352b40c7fa67fe65bdc62cbae4ff1 (patch) | |
tree | 42822c6c00e5ddf808a4b35810f9522ad3dcf5ed /misc_gui.c | |
parent | 200d3fdbe83717437d7dad0fb99b180c3ca103a7 (diff) | |
download | openttd-249a170acef352b40c7fa67fe65bdc62cbae4ff1.tar.xz |
(svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c index ee5532fae..04deaacd4 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1338,14 +1338,14 @@ void AskForNewGameToStart() w->vscroll.cap = 27; } -int32 ClickMoneyCheat(int32 p1, int32 p2) +static int32 ClickMoneyCheat(int32 p1, int32 p2) { DoCommandP(0, -10000000, 0, NULL, CMD_MONEY_CHEAT); return true; } // p1 player to set to, p2 is -1 or +1 (down/up) -int32 ClickChangePlayerCheat(int32 p1, int32 p2) +static int32 ClickChangePlayerCheat(int32 p1, int32 p2) { while(p1 >= 0 && p1 < MAX_PLAYERS) { if (_players[p1].is_active) { |