From 81d7d9464a914eea0c87cb953523be5edfa90e9b Mon Sep 17 00:00:00 2001 From: cypress Date: Mon, 8 Jan 2024 14:08:56 -0500 Subject: [PATCH] SERVER: Use for ambient_generic --- source/server/entities/sounds.qc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/server/entities/sounds.qc b/source/server/entities/sounds.qc index 873928c..be7b8f5 100644 --- a/source/server/entities/sounds.qc +++ b/source/server/entities/sounds.qc @@ -73,10 +73,7 @@ void() ambient_use = void () ambient_generic = { - string link; - - // moto - FIXME: typically this is set to upper-case but only FTE has strtoupper(); assume lower-case! - link = self.message; + string link = strtolower(self.message); if (link == "nolink") { if (substring(self.message, 0, 1) == "*")