From d80964f52bb0d1274128ffca2adfbac35e4e93b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkki=20Sepp=C3=A4l=C3=A4?= Date: Tue, 21 Oct 2014 08:54:21 +0300 Subject: [PATCH] Removed a couple debug messages --- computerplayer.lua | 1 - entities/plane.lua | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/computerplayer.lua b/computerplayer.lua index 84b5b88..52b8c02 100644 --- a/computerplayer.lua +++ b/computerplayer.lua @@ -49,7 +49,6 @@ ComputerPlayer = Class{ ang < math.pi + math.pi / 2 then local needLift = self.plane.body:getY() > 400 if needLift then - print("Ang", ang) if ang < math.pi + math.pi / 2 then wantCw = true elseif ang > math.pi + math.pi / 2 then diff --git a/entities/plane.lua b/entities/plane.lua index 0f9df58..623aa7b 100644 --- a/entities/plane.lua +++ b/entities/plane.lua @@ -122,7 +122,7 @@ Plane = Class{ --x 0 y 0 mass 860.00006103516 inertia 158194.140625 local x, y, mass, inertia = self.body:getMassData() - print("x", x, "y", y, "mass", mass, "inertia", inertia) + --print("x", x, "y", y, "mass", mass, "inertia", inertia) for frame = 0,35 do self.frames[frame] = love.graphics.newImage(string.format("resources/graphics/plane-%04d.png", frame)) @@ -166,7 +166,7 @@ Plane = Class{ end; setPowerUpMode = function(self, powerupmode) - print("Got powerup!") + --print("Got powerup!") self.powerupmode = powerupmode self.powerupmode:activate(self) end;