]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix cl_nade_type description; remove a dangling semicolon from a macro
authorterencehill <piuntn@gmail.com>
Sun, 9 Jul 2023 23:22:04 +0000 (01:22 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 9 Jul 2023 23:22:04 +0000 (01:22 +0200)
mutators.cfg
qcsrc/common/mutators/mutator/nades/nades.qc

index c6ea8e9c83b42432e5363353797c216ff2d2d521..7a9ef9f44a3bab675eb54b24246881bb4a09645c 100644 (file)
@@ -207,7 +207,7 @@ set g_nades_nade_newton_style 0 "nade velocity: 0 is absolute, 1 is relative (ta
 set g_nades_nade_type 1 "Type of the off-hand grenade. 1:normal 2:napalm 3:ice 4:translocate 5:spawn 6:heal 7:pokenade 8:entrap 9:veil, 10:ammo, 11:darkness"
 
 seta cl_nade_timer 1 "show a visual timer for nades, 1 = only circle, 2 = circle with text"
-seta cl_nade_type 3 "selected type of the off-hand grenade. 1:normal 2:napalm 3:ice 4:translocate 5:spawn 6:heal 7:pokenade 8:entrap 9:veil 10:ammo 11:darkness"
+seta cl_nade_type 3 "selected type of the off-hand grenade. 1:normal 2:napalm 3:ice 4:translocate 5:spawn 6:heal 7:pokenade 8:entrap 9:veil 10:ammo 11:dark"
 seta cl_pokenade_type "zombie" "monster to spawn"
 
 // ------------
index 8fa8a277997331e7652d141e1ea9efc43376aeed..b301d1f0306ba5e38b4bbcec52aab771f9346146 100644 (file)
@@ -1427,7 +1427,7 @@ int nades_CheckTypes(entity player, int cl_ntype)
 #define CL_NADE_TYPE_CHECK(cl_ntype, cvar) \
        case cl_ntype.m_id: \
                if (!cvar) return NADE_TYPE_NORMAL.m_id; \
-               break;
+               break
 
        switch (cl_ntype)
        {