refactored vector classes to avoid reinterpret_cast
[xonotic/netradiant.git] / plugins / entity / targetable.h
index 82dd43afa0dd87dae70b5700dd211818d2e6ff0e..f9081d880e6056f910da4471431c078c08164c45 100644 (file)
@@ -398,7 +398,7 @@ public:
       return childBounds.origin;
     }
 #endif
-    return localToWorld().t();
+    return vector4_to_vector3(localToWorld().t());
   }
 
   void render(Renderer& renderer, const VolumeTest& volume) const