summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-30 20:37:25 +0000
committertron <tron@openttd.org>2005-09-30 20:37:25 +0000
commited8c9c91d66f593dc3fae5cef4469ded311f6d75 (patch)
tree1e61685bece04279bd25b3f79e645384c1d83405 /misc_gui.c
parentaf5b74f0edfb02077f55d6c1ac6713d3aa18d753 (diff)
downloadopenttd-ed8c9c91d66f593dc3fae5cef4469ded311f6d75.tar.xz
(svn r3001) s/Player*/const Player*/
s/byte/PlayerID/ s/int/PlayerID/ and related changes
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 6383b2ec4..00062b5e2 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -484,7 +484,7 @@ static void ErrmsgWndProc(Window *w, WindowEvent *e)
_errmsg_message_1,
238);
} else {
- Player *p = GetPlayer(GetDParamX(_errmsg_decode_params,2));
+ const Player* p = GetPlayer(GetDParamX(_errmsg_decode_params,2));
DrawPlayerFace(p->face, p->player_color, 2, 16);
DrawStringMultiCenter(