Skip to content

Commit

Permalink
const qualify removeweapons()
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Dec 5, 2024
1 parent e4386fe commit 5a28a35
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 @@ -1016,7 +1016,7 @@ namespace game
extern void clearprojectiles();
extern void updateprojectiles(int curtime);
extern void removeprojectiles(const gameent *owner);
extern void removeweapons(gameent *owner);
extern void removeweapons(const gameent *owner);
extern void updateweapons(int curtime);
extern void gunselect(int gun, gameent *d);
extern void weaponswitch(gameent *d);
Expand Down
2 changes: 1 addition & 1 deletion game/weapon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ namespace game
rendermodel(mdl, Anim_Mapmodel | Anim_Loop, pos, yaw, pitch, 0, cull, nullptr, nullptr, 0, 0, fade);
}
}
void removeweapons(gameent *d)
void removeweapons(const gameent *d)
{
removebouncers(d);
removeprojectiles(d);
Expand Down

0 comments on commit 5a28a35

Please sign in to comment.