Skip to content

Commit aa2cca6

Browse files
committed
game: make gitem_t operations const
1 parent 32c1b32 commit aa2cca6

43 files changed

Lines changed: 939 additions & 775 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/g_ai.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ range(edict_t *self, edict_t *other)
309309
* to self, even if not infront()
310310
*/
311311
qboolean
312-
visible(edict_t *self, edict_t *other)
312+
visible(const edict_t *self, const edict_t *other)
313313
{
314314
vec3_t spot1;
315315
vec3_t spot2;
@@ -684,7 +684,7 @@ FindTarget(edict_t *self)
684684
/* ============================================================================= */
685685

686686
qboolean
687-
FacingIdeal(edict_t *self)
687+
FacingIdeal(const edict_t *self)
688688
{
689689
float delta;
690690

0 commit comments

Comments
 (0)