diff options
Diffstat (limited to 'Portal.h')
-rw-r--r-- | Portal.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -57,8 +57,7 @@ class Portal : public LevelObject { } virtual void move(float x, float y) { - pos.setX(pos.getX()+x); - pos.setY(pos.getY()+y); + pos += Vertex(x, y); } virtual void rotate(float a) { |