From 7937fbe66d3cd78663b1c20d53206b2135e02d23 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Mon, 12 Oct 2009 23:42:23 +0000 Subject: * Apparently which variable stored the location changed since I initially wrote the code committed in revision 1778. This fixes location display --- src/game/g_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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++; -- cgit