From 1d51c1ca749cd94b6b90339574c62cd0cacb9cc4 Mon Sep 17 00:00:00 2001 From: Ian Date: Sat, 19 Nov 2022 11:08:06 -0500 Subject: [PATCH] Server: Make Precache_Set an inline function will help out a bit with jumps when this gets more widely adopted in our codebase. also hello from GitHub for iOS :^) --- source/server/clientfuncs.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/server/clientfuncs.qc b/source/server/clientfuncs.qc index 52c2705..ca32a2f 100644 --- a/source/server/clientfuncs.qc +++ b/source/server/clientfuncs.qc @@ -507,7 +507,7 @@ void (float achievement_id, float progress_value, optional entity who) UpdateAch // Unrelated to engine, but custom functions // ***************************************** -void(string modelname) Precache_Set = // Precache model, and set myself to it +inline void(string modelname) Precache_Set = // Precache model, and set myself to it { precache_model(modelname); setmodel(self, modelname);