summaryrefslogtreecommitdiff
path: root/src/main_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
commitcf06eae3bbafcb53f040393f14c62fe4e583831c (patch)
tree99a62ac7806ee2a7216d9998af847326bf5b249c /src/main_gui.cpp
parent9e7b06652251bbb00a9bbcad9c224260ef6217d5 (diff)
downloadopenttd-cf06eae3bbafcb53f040393f14c62fe4e583831c.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/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 38c269c0d..6aa995766 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -538,8 +538,6 @@ static void UpdatePlayerMenuHeight(Window *w)
}
}
-extern void DrawPlayerIcon(PlayerID pid, int x, int y);
-
static void PlayerMenuWndProc(Window *w, WindowEvent *e)
{
switch (e->event) {