summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorPetr Pudlak <petr.mvd@gmail.com>2014-08-16 14:26:16 +0200
committerPetr Pudlak <petr.mvd@gmail.com>2014-08-16 14:26:16 +0200
commit8816244ec329acdd5eb64e0518e69ae77df1cd75 (patch)
treec7a7614c537a79b29452695c94ee7597b69e7993 /src/game/g_admin.c
parentfc765f5f146627d282b4374dd0c575895d64a900 (diff)
Add the ability for humans to heal their team members
The medkit handling is moved to a new function G_UseMedkit. If there is a human within a given range that is either more wounded than the player, or poisoned, the medkit is applied to him (see G_NeedsMedkit). The range and the breadth of the action is configurable by cvars. The original patch was used on a server, but this port wasn't tested (only that it compiles).
Diffstat (limited to 'src/game/g_admin.c')
0 files changed, 0 insertions, 0 deletions