From fcb27f12ee85d068e6b07fccc102ddf70c153c1f Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 25 Sep 2011 23:46:08 +0000 Subject: Fix special1/special2 values in Hexen code so that they can properly hold pointer values. Subversion-branch: /branches/v2-branch Subversion-revision: 2407 --- src/hexen/p_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hexen/p_things.c') diff --git a/src/hexen/p_things.c b/src/hexen/p_things.c index db0d89cc..5e137100 100644 --- a/src/hexen/p_things.c +++ b/src/hexen/p_things.c @@ -273,7 +273,7 @@ boolean EV_ThingSpawn(byte * args, boolean fog) newMobj->flags2 |= MF2_DROPPED; // Don't respawn if (newMobj->flags2 & MF2_FLOATBOB) { - newMobj->special1 = newMobj->z - newMobj->floorz; + newMobj->special1.i = newMobj->z - newMobj->floorz; } success = true; } -- cgit v1.2.3