The floater now actualy dives under water.
This commit is contained in:
parent
018c65b4e3
commit
32d117a498
@ -33,7 +33,7 @@ void cFloater::Tick(float a_Dt, cChunk & a_Chunk)
|
|||||||
{
|
{
|
||||||
if (m_World->GetTickRandomNumber(100) == 0)
|
if (m_World->GetTickRandomNumber(100) == 0)
|
||||||
{
|
{
|
||||||
SetSpeedY(-1);
|
SetPosY(GetPosY() - 1);
|
||||||
m_CanPickupItem = true;
|
m_CanPickupItem = true;
|
||||||
m_PickupCountDown = 20;
|
m_PickupCountDown = 20;
|
||||||
LOGD("Floater %i can be picked up", GetUniqueID());
|
LOGD("Floater %i can be picked up", GetUniqueID());
|
||||||
|
Loading…
Reference in New Issue
Block a user