diff options
Diffstat (limited to 'src/collision.h')
-rw-r--r-- | src/collision.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/collision.h b/src/collision.h index fc4187eda..d1234bef3 100644 --- a/src/collision.h +++ b/src/collision.h @@ -57,13 +57,15 @@ struct collisionMoveResult bool collides; bool collides_xz; bool standing_on_unloaded; + bool standing_on_object; std::vector<CollisionInfo> collisions; collisionMoveResult(): touching_ground(false), collides(false), collides_xz(false), - standing_on_unloaded(false) + standing_on_unloaded(false), + standing_on_object(false) {} }; |