From d0c58b8e64410e04c74b2077a730eb44161bb648 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 2 Feb 2020 14:36:56 +0200 Subject: [PATCH] - fixed: weapon names were printed instead of ammo in Shadow Warrior --- source/sw/src/scrip2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sw/src/scrip2.cpp b/source/sw/src/scrip2.cpp index fdb0256f7..60c152c30 100644 --- a/source/sw/src/scrip2.cpp +++ b/source/sw/src/scrip2.cpp @@ -906,7 +906,7 @@ void LoadCustomInfoFromScript(const char *filename) { if (ammo) { - quoteMgr.InitializeQuote(QUOTE_AMMOFIST + in, name); + quoteMgr.InitializeQuote(QUOTE_AMMOFIST + in, ammo); } if (pickup >= 0) DamageData[id].ammo_pickup = pickup; }