Reduce the chances of input_cursor_entity getting stale values on map changes.
This commit is contained in:
parent
b3c5cb8ae1
commit
d45687ccf0
1 changed files with 4 additions and 0 deletions
|
@ -2315,6 +2315,10 @@ void SV_Begin_Core(client_t *split)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
split->spawned = true;
|
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
|
#ifdef Q2SERVER
|
||||||
if (ge)
|
if (ge)
|
||||||
|
|
Loading…
Reference in a new issue