forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user