Skip to content

Commit

Permalink
bug fix: hoverbike jittering - also remove redundant condition from h…
Browse files Browse the repository at this point in the history
…ovUpdateGround()
  • Loading branch information
Raf committed Sep 18, 2023
1 parent 13a6cc1 commit e92f556
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/game/propobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -5170,7 +5170,10 @@ void hovUpdateGround(struct defaultobj *obj, struct hov *hov, struct coord *pos,
RoomNum testrooms[8];
struct coord testpos;

if (g_Vars.lvframe60 > hov->prevframe60) {
#ifdef PLATFORM_N64
if (g_Vars.lvframe60 > hov->prevframe60)
#endif
{
testpos.x = pos->x;
testpos.y = pos->y - 50;
testpos.z = pos->z;
Expand Down

0 comments on commit e92f556

Please sign in to comment.