summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-21 21:50:46 +0000
committerrubidium <rubidium@openttd.org>2007-12-21 21:50:46 +0000
commit9e9cfe6e59de14f7df9ab505f9bf5ef3d827545d (patch)
treed864de233dd5965735564d85017cf7abf0875933 /src/command.cpp
parent65754b8d12099be586967a4bba5b82a484628b18 (diff)
downloadopenttd-9e9cfe6e59de14f7df9ab505f9bf5ef3d827545d.tar.xz
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 68f80c7b5..1b9263b37 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -10,7 +10,7 @@
#include "map.h"
#include "tile_map.h"
#include "gui.h"
-#include "command.h"
+#include "command_func.h"
#include "player.h"
#include "network/network.h"
#include "variables.h"
@@ -401,7 +401,7 @@ static int _docommand_recursive;
* @param procc The command-id to execute (a value of the CMD_* enums)
* @see CommandProc
*/
-CommandCost DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc)
+CommandCost DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint32 procc)
{
CommandCost res;
CommandProc *proc;