diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/doom/p_saveg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/p_saveg.c b/apps/plugins/doom/p_saveg.c index b1b4b934ba..1b73593879 100644 --- a/apps/plugins/doom/p_saveg.c +++ b/apps/plugins/doom/p_saveg.c | |||
@@ -269,7 +269,7 @@ void P_ThinkerToIndex(void) | |||
269 | number_of_thinkers = 0; | 269 | number_of_thinkers = 0; |
270 | for (th = thinkercap.next ; th != &thinkercap ; th=th->next) | 270 | for (th = thinkercap.next ; th != &thinkercap ; th=th->next) |
271 | if (th->function == P_MobjThinker) | 271 | if (th->function == P_MobjThinker) |
272 | th->prev = (thinker_t *) ++number_of_thinkers; | 272 | th->prev = (thinker_t *)(long)(++number_of_thinkers); |
273 | } | 273 | } |
274 | 274 | ||
275 | // phares 9/13/98: Moved this code outside of P_ArchiveThinkers so the | 275 | // phares 9/13/98: Moved this code outside of P_ArchiveThinkers so the |
@@ -788,7 +788,7 @@ void P_UnArchiveSpecials (void) | |||
788 | door->sector = §ors[(unsigned long)door->sector]; | 788 | door->sector = §ors[(unsigned long)door->sector]; |
789 | 789 | ||
790 | //jff 1/31/98 unarchive line remembered by door as well | 790 | //jff 1/31/98 unarchive line remembered by door as well |
791 | door->line = (unsigned long)door->line!=-1? &lines[(unsigned long)door->line] : NULL; | 791 | door->line = (long)door->line!=-1? &lines[(unsigned long)door->line] : NULL; |
792 | 792 | ||
793 | door->sector->ceilingdata = door; //jff 2/22/98 | 793 | door->sector->ceilingdata = door; //jff 2/22/98 |
794 | door->thinker.function = T_VerticalDoor; | 794 | door->thinker.function = T_VerticalDoor; |