From cf06eae3bbafcb53f040393f14c62fe4e583831c Mon Sep 17 00:00:00 2001 From: maedhros Date: Sun, 21 Jan 2007 11:49:18 +0000 Subject: (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. --- src/misc_gui.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/misc_gui.cpp') diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 66c650cba..823e3edbf 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1788,8 +1788,6 @@ static const Widget _cheat_widgets[] = { { WIDGETS_END}, }; -extern void DrawPlayerIcon(PlayerID pid, int x, int y); - static void CheatsWndProc(Window *w, WindowEvent *e) { switch (e->event) { -- cgit v1.2.3-54-g00ecf