Remove bogus asserts, fixes Coverity #29378 and #29408
[supertux.git] / src / supertux / tile.hpp
index 92fa06e..d0dd424 100644 (file)
@@ -170,7 +170,7 @@ private:
 
   /** Returns zero if a unisolid tile is non-solid due to the movement
    * direction, non-zero if the tile is solid due to direction. */
-  bool check_movement_unisolid (const Vector movement) const;
+  bool check_movement_unisolid (const Vector& movement) const;
 
   /** Returns zero if a unisolid tile is non-solid due to the position of the
    * tile and the object, non-zero if the tile is solid. */