]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some stupidities in the code I just merged: changing the log output is bad so...
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 9 Mar 2011 11:53:20 +0000 (12:53 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 9 Mar 2011 11:53:35 +0000 (12:53 +0100)
defaultXonotic.cfg
qcsrc/client/hud.qc
qcsrc/server/g_world.qc

index c7d9898318bedf029f2795be22ae0f7428282e85..e9e2f026cf4d090b13ed89c618ac5bd1e6529158 100644 (file)
@@ -488,7 +488,7 @@ set g_powerup_superhealth 1 "if set to 0 the mega health powerup will not spawn
 set g_powerup_strength 1 "if set to 0 the strength powerup will not spawn on the map"
 set g_powerup_shield 1 "if set to 0 the shield (invincibility) powerup will not spawn on the map"
 set g_balance_powerup_timer 1 "if set to 0 the powerups dont wear off"
-set g_use_ammunition 1 "if set to 0 all weapons you start with have unlimited ammunition"
+set g_use_ammunition 1 "if set to 0 all weapons have unlimited ammunition"
 set g_pickup_items 1 "if set to 0 all items (health, armor, ammo, weapons...) are removed from the map"
 set g_minstagib 0      "enable minstagib"
 set g_minstagib_extralives 2   "how many extra lives you will get per powerup"
index 6ce72820b87ae97b463253a37eee00576f512dee..1053c5e5ff5178c2dfff9035f0b5d2a8cb5239a7 100644 (file)
@@ -2983,9 +2983,9 @@ void HUD_KillNotify(string s1, string s2, string s3, float type, float msg) // s
                }
        } else if(msg == MSG_KILL_ACTION_SPREE) {
                if(gentle)
-                       print (sprintf(_("^1%s^1 needs a restart after a %s scoring spree\n"), s1, s2));
+                       print (sprintf(_("^1%s^1 needs a restart after a %d scoring spree\n"), s1, stof(s2)));
                else
-                       print (sprintf(_("^1%s^1 died with a %s kill spree\n"), s1, s2));
+                       print (sprintf(_("^1%s^1 died with a %d kill spree\n"), s1, stof(s2)));
        } else if(msg == MSG_INFO) {
                if(type == INFO_GOTFLAG) { // here, s2 is the flag name
                        HUD_KillNotify_Push(s1, s2, 0, INFO_GOTFLAG);
index 87d0389815180c9d95c60efcde21d9a25e76c94c..374f17c7bbe3d334f27f2e83c3a99dda6a4e24f7 100644 (file)
@@ -740,7 +740,7 @@ void spawnfunc_worldspawn (void)
 
                // initialiation stuff, not good in the mutator system
                if(autocvar_g_weaponarena != "0")
-                       s = strcat(s, ":", autocvar_g_weaponarena, "_arena");
+                       s = strcat(s, ":", autocvar_g_weaponarena, " arena");
 
                // TODO to mutator system
                if(autocvar_g_norecoil)