- moved the bot support code from AActor::Tick to a subfunction in the bot sources. No need to pollute a main game file with this stuff.
This commit is contained in:
parent
c2e7858e05
commit
696fde69b8
4 changed files with 45 additions and 39 deletions
|
|
@ -6505,7 +6505,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CheckProximity)
|
|||
|
||||
if (ptrWillChange)
|
||||
{
|
||||
current = ref->AproxDistance(mo);
|
||||
current = ref->Distance2D(mo);
|
||||
|
||||
if ((flags & CPXF_CLOSEST) && (current < closer))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue