actor 64 bit fixes.

git-svn-id: https://svn.eduke32.com/eduke32@766 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
qbix79 2008-06-05 14:04:49 +00:00
parent dbd4e83d6e
commit bb24d228c7

View file

@ -4775,7 +4775,8 @@ BOLT:
static void moveexplosions(void) // STATNUM 5 static void moveexplosions(void) // STATNUM 5
{ {
short i, j, nexti, sect, p; short i, j, nexti, sect, p;
int l, x, *t; int l, x;
intptr_t *t;
spritetype *s; spritetype *s;
int switchpicnum; int switchpicnum;
@ -5338,8 +5339,8 @@ BOLT:
static void moveeffectors(void) //STATNUM 3 static void moveeffectors(void) //STATNUM 3
{ {
int q=0, l, m, x, st, j; int q=0, m, x, st, j;
intptr_t *t; intptr_t *t,l;
int i = headspritestat[3], nexti, nextk, p, sh, nextj; int i = headspritestat[3], nexti, nextk, p, sh, nextj;
short k; short k;
spritetype *s; spritetype *s;
@ -6891,9 +6892,9 @@ static void moveeffectors(void) //STATNUM 3
if (t[0] == 0) break; if (t[0] == 0) break;
if (s->ang == 1536) if (s->ang == 1536)
l = (int) &sc->ceilingz; l = (intptr_t) &sc->ceilingz;
else else
l = (int) &sc->floorz; l = (intptr_t) &sc->floorz;
if (t[0] == 1) //Decide if the s->sectnum should go up or down if (t[0] == 1) //Decide if the s->sectnum should go up or down
{ {