diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/systems/pondering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/pondering.cpp b/src/systems/pondering.cpp index f5d3df2..ed14772 100644 --- a/src/systems/pondering.cpp +++ b/src/systems/pondering.cpp | |||
@@ -440,7 +440,7 @@ void PonderingSystem::tickBody( | |||
440 | it++) | 440 | it++) |
441 | { | 441 | { |
442 | // Check that the boundary is in range for the other axis. | 442 | // Check that the boundary is in range for the other axis. |
443 | if ((result.newX + transformable.h > it->second.lower) && | 443 | if ((result.newX + transformable.w > it->second.lower) && |
444 | (result.newX < it->second.upper)) | 444 | (result.newX < it->second.upper)) |
445 | { | 445 | { |
446 | // We have a collision! | 446 | // We have a collision! |