Implemented mirror actions correctly. Bugfix: right direction of bad guys now working.
[supertux.git] / lib / math / vector.h
index 90588c8..dac4c95 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef SUPERTUX_VECTOR_H
 #define SUPERTUX_VECTOR_H
 
-#include "special/base.h"
+#include "../special/base.h"
 
 namespace SuperTux
   {
@@ -48,6 +48,11 @@ namespace SuperTux
           return x == other.x && y == other.y;
         }
 
+      bool operator !=(const Vector& other) const
+        {
+          return !(x == other.x && y == other.y);
+        }
+
       const Vector& operator=(const Vector& other)
       {
         x = other.x;