Once again better Y direction for the items given when fishing.
parent
f4e68730d2
commit
76ff71810a
|
@ -174,8 +174,8 @@ public:
|
|||
|
||||
|
||||
Vector3d FloaterPos(Callbacks.GetPos());
|
||||
Vector3d FlyDirection(a_Player->GetPosition() - FloaterPos);
|
||||
a_World->SpawnItemPickups(Drops, FloaterPos.x, FloaterPos.y, FloaterPos.z, FlyDirection.x, FlyDirection.Length() / (FlyDirection.y * 2), FlyDirection.z);
|
||||
Vector3d FlyDirection(a_Player->GetEyePosition() - FloaterPos);
|
||||
a_World->SpawnItemPickups(Drops, FloaterPos.x, FloaterPos.y, FloaterPos.z, FlyDirection.x, FlyDirection.y + 1, FlyDirection.z);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue