mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
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:
parent
b74c6cd8c8
commit
1d51c1ca74
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue