Client/Server: unset input_cursor_entitynumber because the engine wouldn't

This commit is contained in:
Marco Cawthorne 2024-07-30 14:43:03 -07:00
parent c27ab5dd5a
commit 4315e92ef5
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 6 additions and 0 deletions

View file

@ -98,6 +98,9 @@ CSQC_Init(float apilevel, string enginename, float engineversion)
/* because the engine will do really bad hacks to our models otherwise. e.g. R6284 */
cvar_set("r_fullbrightSkins", "0");
/* ENGINE, PLS FIX */
input_cursor_entitynumber = 0;
}
/** Called by the engine whenever video resources need to be reloaded.

View file

@ -342,6 +342,9 @@ init(float prevprogs)
/* DO NOT EVER CHANGE THESE. */
cvar_set("r_meshpitch", "1");
/* ENGINE, PLS FIX */
input_cursor_entitynumber = 0;
}
/** Called inside initents() to make sure the entities have their Respawn()