This isn't needed
This commit is contained in:
parent
885a50d77a
commit
b45e85a678
@ -70,7 +70,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
cFastRandom Random;
|
cFastRandom Random;
|
||||||
a_Player->GetWorld()->BroadcastSpawnEntity(*Arrow);
|
|
||||||
a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)std::floor(a_Player->GetPosX() * 8.0), (int)std::floor(a_Player->GetPosY() * 8.0), (int)std::floor(a_Player->GetPosZ() * 8.0), 1.0F, 1.0F / (Random.NextFloat(1.0F) * 0.4F + 1.2F) + (float)Force * 0.5F);
|
a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)std::floor(a_Player->GetPosX() * 8.0), (int)std::floor(a_Player->GetPosY() * 8.0), (int)std::floor(a_Player->GetPosZ() * 8.0), 1.0F, 1.0F / (Random.NextFloat(1.0F) * 0.4F + 1.2F) + (float)Force * 0.5F);
|
||||||
|
|
||||||
if (!a_Player->IsGameModeCreative())
|
if (!a_Player->IsGameModeCreative())
|
||||||
|
Loading…
Reference in New Issue
Block a user