Faltaba corregir un error de reemplazo en item.cpp
This commit is contained in:
@@ -119,7 +119,7 @@ void Item::move()
|
||||
}
|
||||
|
||||
// Si el objeto se sale por la parte inferior
|
||||
if (posY + height > playArea->w)
|
||||
if (posY + height > playArea->h)
|
||||
{
|
||||
// Corrige
|
||||
posY -= velY;
|
||||
@@ -129,7 +129,7 @@ void Item::move()
|
||||
velX = 0;
|
||||
accelX = 0;
|
||||
accelY = 0;
|
||||
posY = playArea->w - height;
|
||||
posY = playArea->h - height;
|
||||
if (kind == ITEM_COFFEE_MACHINE)
|
||||
{
|
||||
floorCollision = true;
|
||||
|
||||
Reference in New Issue
Block a user