(svn r236) -Fix: random crash when player-face was displayed in error-dialog

This commit is contained in:
truelight 2004-09-13 18:42:45 +00:00
parent ef5202a361
commit add49120dd
1 changed files with 1 additions and 1 deletions

View File

@ -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(