From 0ea5739881d540d5e5d8007917ee7e17d68a57be Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 25 Sep 2011 20:59:22 +0000 Subject: Fix special1/special2 values so that they can properly hold pointer values. This fixes Heretic under 64-bit. Subversion-branch: /branches/v2-branch Subversion-revision: 2406 --- src/heretic/g_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/heretic/g_game.c') diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c index ff5a79c3..2c2b6cc6 100644 --- a/src/heretic/g_game.c +++ b/src/heretic/g_game.c @@ -1013,7 +1013,7 @@ void G_PlayerFinishLevel(int player) // memset(p->inventory, 0, sizeof(p->inventory)); if (p->chickenTics) { - p->readyweapon = p->mo->special1; // Restore weapon + p->readyweapon = p->mo->special1.i; // Restore weapon p->chickenTics = 0; } p->messageTics = 0; -- cgit v1.2.3