foxygit / doom Log in
commit 14b01ab612caf0cbedd845ab3ae6bd5cec3a1bd3
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Oct 22 17:17:15 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sun Oct 22 17:17:15 2006 +0000

    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(-)

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,