Skip to content

Commit

Permalink
Fix nextthink bump in SV_Physics_Pusher().
Browse files Browse the repository at this point in the history
This was apparently forgotten in commit cea6f42. Fixes #227.
  • Loading branch information
skullernet committed Feb 17, 2022
1 parent b078135 commit 8b8d647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/baseq2/g_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ void SV_Physics_Pusher(edict_t *ent)
// the move failed, bump all nextthink times and back out moves
for (mv = ent ; mv ; mv = mv->teamchain) {
if (mv->nextthink > 0)
mv->nextthink += FRAMETIME;
mv->nextthink++;
}

// if the pusher has a "blocked" function, call it
Expand Down

0 comments on commit 8b8d647

Please sign in to comment.