mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-22 16:00:28 +02:00
Fixed EventPointsWithinDist taking the wrong argument number for the distance
This commit is contained in:
1 file changed
+1
-1
@@ -4142,7 +4142,7 @@ void ScriptThread::EventAIsCloserThanBToC(Event *ev)
|
||||
void ScriptThread::EventPointsWithinDist(Event *ev)
|
||||
{
|
||||
Vector delta;
|
||||
float dist = ev->GetFloat(2);
|
||||
float dist = ev->GetFloat(3);
|
||||
|
||||
delta = ev->GetVector(1) - ev->GetVector(2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user