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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user