ref: 14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3
parent: 22c27eadb498fccf93dbceb7e6e05e096bd6c841
author: Simon Howard <[email protected]>
date: Sun Oct 22 13:17:15 EDT 2006
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
--- a/src/info.h
+++ b/src/info.h
@@ -1151,19 +1151,18 @@
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,