summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-03-18 03:18:37 +0000
committerTim Angus <tim@ngus.net>2004-03-18 03:18:37 +0000
commit9582bcfdfcce0aa7132917c8403c5f12d2be3e79 (patch)
tree1dee3afb7d4c368eead06312400b2a283ad5b9f3 /src/game/g_buildable.c
parent62f7a4f9db988a522a534224f14127afb9c49ba5 (diff)
* Possibly fixed the scoreboard not updating
* Possibly fixed the spectator scrolling not working * Spawn queue position is now displayed when queued * Pressing BUTTON_ATTACK removes the client from the spawn queue
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index fba8a54a..c35e64ec 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1636,7 +1636,7 @@ void HMedistat_Think( gentity_t *self )
self->active = qfalse;
}
- else //heal!
+ else if( self->enemy ) //heal!
self->enemy->health++;
}
}