1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-22 12:53:22 +02:00

#66 fix (related to #41, solved in #57)

This commit is contained in:
XProger
2017-05-15 00:59:22 +03:00
parent cb1c38a7b0
commit 95b1b3ce8d

View File

@@ -67,7 +67,7 @@ struct Collision {
} else
return;
pos += vec3(d.x, -velocity.y, d.y);
pos += vec3(d.x, 0.0f, d.y);
}
inline bool checkHeight(TR::Level *level, int roomIndex, const vec3 &pos, const vec2 &offset, int height, int maxAscent, int maxDescent, Side side) {