Skip to content

Commit

Permalink
Fixed odd behaviour after introducing 64bit assertions (changed logic…
Browse files Browse the repository at this point in the history
… structure).
  • Loading branch information
danij committed Oct 26, 2006
1 parent 7444f09 commit f9197d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doomsday/engine/portable/src/r_model.c
Expand Up @@ -740,9 +740,11 @@ float R_CheckModelFor(mobj_t *mo, modeldef_t ** modef, modeldef_t ** nextmodef)
if(duration == 0)
duration = 1;
if(offset == -1)
/* r_model.c:743: warning: cast from pointer to integer of different size */
ASSERT_NOT_64BIT();
{
/* r_model.c:743: warning: cast from pointer to integer of different size */
ASSERT_NOT_64BIT();
offset = M_CycleIntoRange(THING_TO_ID(mo), duration);
}
interp = M_CycleIntoRange(levelTime / duration + offset, 1);
worldTime = true;
}
Expand Down

0 comments on commit f9197d0

Please sign in to comment.