Fixed compiler warning.
This commit is contained in:
parent
a8ad7c2383
commit
ceee25bd11
@ -72,7 +72,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
a_Player->GetWorld()->BroadcastSpawnEntity(*Arrow);
|
a_Player->GetWorld()->BroadcastSpawnEntity(*Arrow);
|
||||||
a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)a_Player->GetPosX() * 8, (int)a_Player->GetPosY() * 8, (int)a_Player->GetPosZ() * 8, 0.5, Force);
|
a_Player->GetWorld()->BroadcastSoundEffect("random.bow", (int)a_Player->GetPosX() * 8, (int)a_Player->GetPosY() * 8, (int)a_Player->GetPosZ() * 8, 0.5, (float)Force);
|
||||||
|
|
||||||
if (!a_Player->IsGameModeCreative())
|
if (!a_Player->IsGameModeCreative())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user