]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
Use macro for WEP_NAME as well (get rid of W_Name)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index 385e14e7c25d722bf1116f2d305adbf51b3054f8..eb3781647f875036c384aa04c6e9b570f1479fe6 100644 (file)
@@ -353,7 +353,7 @@ string formatmessage(string msg)
                                wep = self.switchweapon;
                        if (!wep)
                                wep = self.cnt;
-                       replacement = W_Name(wep);
+                       replacement = WEP_NAME(wep);
                } else if (escape == "W") {
                        if (self.items & IT_SHELLS) replacement = "shells";
                        else if (self.items & IT_NAILS) replacement = "bullets";