summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-12 23:42:23 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:49 +0000
commit7937fbe66d3cd78663b1c20d53206b2135e02d23 (patch)
treed6a74166c6657e27d2c47d5a85bea4ad14598078 /src
parent35249fc2c3762fe1690559772a6d89724fb7469c (diff)
* Apparently which variable stored the location changed since I initially wrote
the code committed in revision 1778. This fixes location display
Diffstat (limited to 'src')
-rw-r--r--src/game/g_target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_target.c b/src/game/g_target.c
index adca4b3f..af511055 100644
--- a/src/game/g_target.c
+++ b/src/game/g_target.c
@@ -320,7 +320,7 @@ void SP_target_location( gentity_t *self )
message = self->message;
trap_SetConfigstring( CS_LOCATIONS + n, message );
self->nextTrain = level.locationHead;
- self->health = n; // use for location marking
+ self->s.generic1 = n; // use for location marking
level.locationHead = self;
n++;