summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-01-21 11:49:18 +0000
committermaedhros <maedhros@openttd.org>2007-01-21 11:49:18 +0000
commit7a7562d8e24f231f5e1a66281f1ec99027a86d1d (patch)
tree99a62ac7806ee2a7216d9998af847326bf5b249c /src/town_gui.cpp
parent501cd51c15c3d775a06e42f66e38f6f571c2359c (diff)
downloadopenttd-7a7562d8e24f231f5e1a66281f1ec99027a86d1d.tar.xz
(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to players.cpp.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index f88eeb956..ee59f44fd 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -30,7 +30,6 @@ static const Widget _town_authority_widgets[] = {
};
extern const byte _town_action_costs[8];
-extern void DrawPlayerIcon(PlayerID pid, int x, int y);
/** Get a list of available actions to do at a town.
* @param *nump if not NULL add put the number of available actions in it