From 14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 22 Oct 2006 17:17:15 +0000 Subject: Fix problem caused by use of 'long' type instead of 'int' type in state_t structure: caused problems when using multiplayer on 64-bit (thanks exp[x]). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 711 --- src/info.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/info.h b/src/info.h index d2093977..f94af13f 100644 --- a/src/info.h +++ b/src/info.h @@ -1151,20 +1151,19 @@ typedef enum typedef struct { - spritenum_t sprite; - long frame; - long tics; - // void (*action) (); - actionf_t action; - statenum_t nextstate; - long misc1, misc2; + spritenum_t sprite; + int frame; + int tics; + // void (*action) (); + actionf_t action; + statenum_t nextstate; + int misc1; + int misc2; } state_t; extern state_t states[NUMSTATES]; extern char *sprnames[]; - - typedef enum { MT_PLAYER, MT_POSSESSED, -- cgit v1.2.3