From 1c195c3252180ad00d127cd543c320ba75857a39 Mon Sep 17 00:00:00 2001
From: terencehill <piuntn@gmail.com>
Date: Thu, 8 Aug 2024 11:54:55 +0200
Subject: [PATCH] Rename a variable in notif_arg_item_wepammo

---
 qcsrc/common/notifications/all.qh | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/qcsrc/common/notifications/all.qh b/qcsrc/common/notifications/all.qh
index 2ac682f96..e7e26a48e 100644
--- a/qcsrc/common/notifications/all.qh
+++ b/qcsrc/common/notifications/all.qh
@@ -645,20 +645,20 @@ string notif_arg_spree_inf(float type, string input, string player, float spree)
 
 string notif_arg_item_wepammo(float f1, float f2)
 {
-	string ammoitems = "";
+	string ammotype = "";
 	Weapon wep = REGISTRY_GET(Weapons, f1);
 	// TODO: registry handles
 	switch (wep.ammo_type)
 	{
-		case RES_SHELLS:  ammoitems = ITEM_Shells.m_name;      break;
-		case RES_BULLETS: ammoitems = ITEM_Bullets.m_name;     break;
-		case RES_ROCKETS: ammoitems = ITEM_Rockets.m_name;     break;
-		case RES_CELLS:   ammoitems = ITEM_Cells.m_name;       break;
-		case RES_PLASMA:  ammoitems = ITEM_Plasma.m_name;      break;
-		case RES_FUEL:    ammoitems = ITEM_JetpackFuel.m_name; break;
+		case RES_SHELLS:  ammotype = ITEM_Shells.m_name;      break;
+		case RES_BULLETS: ammotype = ITEM_Bullets.m_name;     break;
+		case RES_ROCKETS: ammotype = ITEM_Rockets.m_name;     break;
+		case RES_CELLS:   ammotype = ITEM_Cells.m_name;       break;
+		case RES_PLASMA:  ammotype = ITEM_Plasma.m_name;      break;
+		case RES_FUEL:    ammotype = ITEM_JetpackFuel.m_name; break;
 		default: return ""; // doesn't use ammo
 	}
-	return sprintf(_(" with %d %s"), f2, strtolower(ammoitems));
+	return sprintf(_(" with %d %s"), f2, strtolower(ammotype));
 }
 
 
-- 
2.39.5