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 :^)
This commit is contained in:
Ian 2022-11-19 11:08:06 -05:00 committed by GitHub
parent b74c6cd8c8
commit 1d51c1ca74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);