light: make targetent pointer const

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-03-02 12:17:57 +10:30
parent bf6a5e2bfa
commit 9b470d126b
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ typedef struct entity_s {
char target[MAX_ENT_VALUE];
char targetname[MAX_ENT_VALUE];
struct epair_s *epairs;
struct entity_s *targetent;
const struct entity_s *targetent;
} entity_t;
/*