Skip to content

Commit

Permalink
const gameent* in hudgunorigin
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Sep 1, 2024
1 parent e96ed2d commit 6de872d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion game/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ namespace game
extern int chooserandomplayermodel(int seed);
extern void syncplayer();
extern void swayhudgun(int curtime);
extern vec hudgunorigin(int gun, const vec &from, const vec &to, gameent *d);
extern vec hudgunorigin(int gun, const vec &from, const vec &to, const gameent *d);
extern void rendergame();
extern void renderavatar();
extern void rendereditcursor();
Expand Down
2 changes: 1 addition & 1 deletion game/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ namespace game
drawhudgun();
}

vec hudgunorigin(int gun, const vec &from, const vec &to, gameent *d)
vec hudgunorigin(int gun, const vec &from, const vec &to, const gameent *d)
{
if(d->muzzle.x >= 0)
{
Expand Down

0 comments on commit 6de872d

Please sign in to comment.