summaryrefslogtreecommitdiffstats
path: root/Portal.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-02-09 13:21:00 +0100
committerneoraider <devnull@localhost>2008-02-09 13:21:00 +0100
commit16397f4474fbbe5f140a5e68b3bb6934170bf2e3 (patch)
tree78fe6e556228bb95d28d68d38d51faa77d95f132 /Portal.h
parentacb1721e94a49a4941bb11dfc2f832c3848aa204 (diff)
downloadzoomedit-16397f4474fbbe5f140a5e68b3bb6934170bf2e3.tar
zoomedit-16397f4474fbbe5f140a5e68b3bb6934170bf2e3.zip
zoomedit: Make vertices visible.
Diffstat (limited to 'Portal.h')
-rw-r--r--Portal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Portal.h b/Portal.h
index a4cb349..3df4247 100644
--- a/Portal.h
+++ b/Portal.h
@@ -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) {