mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
make prespeed checkpoints better and not use noclip
This commit is contained in:
parent
7dea02e513
commit
9adf78d311
@ -2638,7 +2638,7 @@ void SaveCheckpointCache(int target, cp_cache_t cpcache, bool actually_a_checkpo
|
|||||||
GetEntPropString(target, Prop_Data, "m_iName", cpcache.sTargetname, 64);
|
GetEntPropString(target, Prop_Data, "m_iName", cpcache.sTargetname, 64);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cpcache.iMoveType == MOVETYPE_NONE)
|
if (cpcache.iMoveType == MOVETYPE_NONE || (cpcache.iMoveType == MOVETYPE_NOCLIP && actually_a_checkpoint))
|
||||||
{
|
{
|
||||||
cpcache.iMoveType = MOVETYPE_WALK;
|
cpcache.iMoveType = MOVETYPE_WALK;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user