cppcheck
This commit is contained in:
@@ -107,9 +107,6 @@ void Item::move() {
|
||||
|
||||
// Si el objeto se sale por la parte inferior
|
||||
if (posY + height > PLAY_AREA_BOTTOM) {
|
||||
// Corrige
|
||||
posY -= velY;
|
||||
|
||||
// Detiene el objeto
|
||||
velY = 0;
|
||||
velX = 0;
|
||||
|
||||
Reference in New Issue
Block a user