summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2006-10-22 17:17:15 +0000
committerSimon Howard2006-10-22 17:17:15 +0000
commit14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3 (patch)
tree69662337ae7eb551fd439d8f812477cfdb39d0b8 /src
parent22c27eadb498fccf93dbceb7e6e05e096bd6c841 (diff)
downloadchocolate-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
Diffstat (limited to 'src')
-rw-r--r--src/info.h17
1 files changed, 8 insertions, 9 deletions
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,