fix 1 crash
This commit is contained in:
parent
62c0007e15
commit
d396d84964
@ -75,7 +75,7 @@ bool CreateMove_hook(void* thisptr, float inputSample, CUserCmd* cmd) {
|
||||
|
||||
bool time_replaced = false;
|
||||
float curtime_old = g_GlobalVars->curtime;;
|
||||
if (CE_GOOD(g_pLocalPlayer->entity)) {
|
||||
if (!g_Settings.bInvalid &&CE_GOOD(g_pLocalPlayer->entity)) {
|
||||
float servertime = (float)CE_INT(g_pLocalPlayer->entity, netvar.nTickBase) * g_GlobalVars->interval_per_tick;
|
||||
g_GlobalVars->curtime = servertime;
|
||||
time_replaced = true;
|
||||
|
Reference in New Issue
Block a user