foxygit / doom Log in
commit 1f19598df064341e8e92b70e466ca8b9f373b4a6
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Jan 27 21:33:32 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Jan 27 21:33:32 2009 +0000

    long -> int

    Subversion-branch: /branches/raven-branch
    Subversion-revision: 1433
---
 src/hexen/h2def.h   | 2 +-
 src/hexen/info.h    | 6 +++---
 src/hexen/s_sound.h | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index a79d8418..a168ed15 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -586,7 +586,7 @@ typedef struct

 typedef struct
 {
-    long id;
+    int id;
     short intnum;               // DOOM executes an int to execute commands

 // communication between DOOM and the driver
diff --git a/src/hexen/info.h b/src/hexen/info.h
index bacce7e8..6ad2975e 100644
--- a/src/hexen/info.h
+++ b/src/hexen/info.h
@@ -3182,11 +3182,11 @@ typedef enum
 typedef struct
 {
     spritenum_t sprite;
-    long frame;
-    long tics;
+    int frame;
+    int tics;
     void (*action) ();
     statenum_t nextstate;
-    long misc1, misc2;
+    int misc1, misc2;
 } state_t;

 extern state_t states[NUMSTATES];
diff --git a/src/hexen/s_sound.h b/src/hexen/s_sound.h
index 6cc5a87e..b66a513e 100644
--- a/src/hexen/s_sound.h
+++ b/src/hexen/s_sound.h
@@ -61,7 +61,7 @@ typedef struct

 typedef struct
 {
-    long id;
+    int id;
     unsigned short priority;
     char *name;
     mobj_t *mo;