Skip to content

Commit 596c5a4

Browse files
committed
const qualify renderparachute
1 parent 707a0b4 commit 596c5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game/render.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ namespace game
489489
renderplayer(d, getplayermodelinfo(d), getplayercolor(d, team), team, fade, flags);
490490
}
491491

492-
static void renderparachute(gameent *d)
492+
static void renderparachute(const gameent *d)
493493
{
494494
vec loc = vec(0,0,24).add(d->o); //three meters above player
495495
rendermodel(parachutemodel, Anim_Mapmodel | Anim_Loop, loc, atan2(d->vel.y,d->vel.x)*RAD, 0, 0);

0 commit comments

Comments
 (0)