mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
More 64-bit fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9322 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5293ea1dac
commit
f81c192b3a
1 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ void P_ThinkerToIndex(void)
|
||||||
number_of_thinkers = 0;
|
number_of_thinkers = 0;
|
||||||
for (th = thinkercap.next ; th != &thinkercap ; th=th->next)
|
for (th = thinkercap.next ; th != &thinkercap ; th=th->next)
|
||||||
if (th->function == P_MobjThinker)
|
if (th->function == P_MobjThinker)
|
||||||
th->prev = (thinker_t *) ++number_of_thinkers;
|
th->prev = (thinker_t *)(long)(++number_of_thinkers);
|
||||||
}
|
}
|
||||||
|
|
||||||
// phares 9/13/98: Moved this code outside of P_ArchiveThinkers so the
|
// phares 9/13/98: Moved this code outside of P_ArchiveThinkers so the
|
||||||
|
|
@ -788,7 +788,7 @@ void P_UnArchiveSpecials (void)
|
||||||
door->sector = §ors[(unsigned long)door->sector];
|
door->sector = §ors[(unsigned long)door->sector];
|
||||||
|
|
||||||
//jff 1/31/98 unarchive line remembered by door as well
|
//jff 1/31/98 unarchive line remembered by door as well
|
||||||
door->line = (unsigned long)door->line!=-1? &lines[(unsigned long)door->line] : NULL;
|
door->line = (long)door->line!=-1? &lines[(unsigned long)door->line] : NULL;
|
||||||
|
|
||||||
door->sector->ceilingdata = door; //jff 2/22/98
|
door->sector->ceilingdata = door; //jff 2/22/98
|
||||||
door->thinker.function = T_VerticalDoor;
|
door->thinker.function = T_VerticalDoor;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue