diff options
author | Simon Howard | 2006-10-22 17:17:15 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-22 17:17:15 +0000 |
commit | 14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3 (patch) | |
tree | 69662337ae7eb551fd439d8f812477cfdb39d0b8 | |
parent | 22c27eadb498fccf93dbceb7e6e05e096bd6c841 (diff) | |
download | chocolate-doom-14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3.tar.gz chocolate-doom-14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3.tar.bz2 chocolate-doom-14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3.zip |
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
-rw-r--r-- | src/info.h | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -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, |