about summary refs log tree commit diff
path: root/src/game/variables.h
diff options
context:
space:
mode:
authorTeetime <TeetimeTW@yahoo.de>2012-08-03 16:23:53 +0200
committerTeetime <TeetimeTW@yahoo.de>2012-08-03 16:23:53 +0200
commit6c6e29265cecb2d6432ec0f3058f6d2e4d1f0548 (patch)
tree512ea8e6e8a7bec46da97a51dd9691833ff85b7b /src/game/variables.h
parentc1fd71e9b17eda83d6dea92b01fd9e7692e70f61 (diff)
downloadzcatch-6c6e29265cecb2d6432ec0f3058f6d2e4d1f0548.tar.gz
zcatch-6c6e29265cecb2d6432ec0f3058f6d2e4d1f0548.zip
Made amount of grenade-bullets adjustable
Diffstat (limited to 'src/game/variables.h')
-rw-r--r--src/game/variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/variables.h b/src/game/variables.h
index da3d1b83..15a8e30f 100644
--- a/src/game/variables.h
+++ b/src/game/variables.h
@@ -110,6 +110,7 @@ MACRO_CONFIG_INT(SvAnticamperRange, sv_anticamper_range, 200, 0, 1000, CFGFLAG_S
 
 MACRO_CONFIG_INT(SvVoteForceReason, sv_vote_forcereason, 1, 0, 1, CFGFLAG_SERVER, "Allow only votes with a reason (except settings)")
 MACRO_CONFIG_INT(SvGrenadeMinDamage, sv_grenade_min_damage, 4, 1, 6, CFGFLAG_SERVER, "How much damage the grenade must do to kill the player (depends how far away it explodes)")
+MACRO_CONFIG_INT(SvGrenadeBullets, sv_grenade_bullets, -1, -1, 10, CFGFLAG_SERVER, "Default amount of bullets for the grenade (-1 = endless ammo), otherwise it reloads after some time")
 MACRO_CONFIG_INT(SvSuicideTime, sv_suicide_time, 15, 0, 60, CFGFLAG_SERVER, "Minimum time between suicides. 0 to forbid suicides completely")
 MACRO_CONFIG_INT(SvKillPenalty, sv_kill_penalty, 5, 0, 50, CFGFLAG_SERVER, "The amount of points which the score will be decreased on each suicide")
 #endif