1
0
Fork 0
forked from fte/fteqw

Reduce the chances of input_cursor_entity getting stale values on map changes.

This commit is contained in:
Shpoike 2024-08-22 03:04:33 +01:00
parent b3c5cb8ae1
commit d45687ccf0

View file

@ -2315,6 +2315,10 @@ void SV_Begin_Core(client_t *split)
return;
}
split->spawned = true;
split->lastcmd.cursor_entitynumber = 0; //make sure this doesn't get reapplied between maps...
split->lastcmd.buttons = 0;
split->lastcmd.impulse = 0;
split->lastcmd.weapon = 0;
#ifdef Q2SERVER
if (ge)