diff options
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index 77cca994d..3121e9e77 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -428,7 +428,7 @@ static void ErrmsgWndProc(Window *w, WindowEvent *e) _errmsg_message_1, 238); } else { - Player *p = DEREF_PLAYER(_errmsg_decode_params[2]); + Player *p = DEREF_PLAYER(GET_DPARAMX8(_errmsg_decode_params,2)); DrawPlayerFace(p->face, p->player_color, 2, 16); DrawStringMultiCenter( |