From 16397f4474fbbe5f140a5e68b3bb6934170bf2e3 Mon Sep 17 00:00:00 2001 From: neoraider Date: Sat, 9 Feb 2008 12:21:00 +0000 Subject: zoomedit: Make vertices visible. --- Portal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Portal.h') 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) { -- cgit v1.2.3