1
0

Once again better Y direction for the items given when fishing.

This commit is contained in:
STRWarrior 2013-12-21 20:42:43 +01:00
parent f4e68730d2
commit 76ff71810a

View File

@ -174,8 +174,8 @@ public:
Vector3d FloaterPos(Callbacks.GetPos()); Vector3d FloaterPos(Callbacks.GetPos());
Vector3d FlyDirection(a_Player->GetPosition() - FloaterPos); Vector3d FlyDirection(a_Player->GetEyePosition() - FloaterPos);
a_World->SpawnItemPickups(Drops, FloaterPos.x, FloaterPos.y, FloaterPos.z, FlyDirection.x, FlyDirection.Length() / (FlyDirection.y * 2), FlyDirection.z); a_World->SpawnItemPickups(Drops, FloaterPos.x, FloaterPos.y, FloaterPos.z, FlyDirection.x, FlyDirection.y + 1, FlyDirection.z);
} }
} }
else else