fix random crits
This commit is contained in:
parent
152b766c9a
commit
08a00e2c11
@ -95,7 +95,7 @@ static const model_t *lastweapon = nullptr;
|
||||
bool force_crit(IClientEntity *weapon)
|
||||
{
|
||||
if (lastnumber < g_pUserCmd->command_number ||
|
||||
lastweapon != weapon->GetModel())
|
||||
lastweapon != weapon->GetModel() || lastnumber - g_pUserCmd > 1000)
|
||||
{
|
||||
if (cached_calculation.init_command > g_pUserCmd->command_number ||
|
||||
g_pUserCmd->command_number - cached_calculation.init_command >
|
||||
|
@ -416,7 +416,7 @@ void Shutdown_hook(void *_this, const char *reason)
|
||||
}
|
||||
|
||||
if (hacks::shared::autojoin::auto_queue)
|
||||
tfmm::abandon();
|
||||
tfmm::queue_start();
|
||||
}
|
||||
|
||||
static CatVar resolver(CV_SWITCH, "resolver", "0", "Resolve angles");
|
||||
|
Reference in New Issue
Block a user