diff options
Diffstat (limited to '')
-rw-r--r-- | src/game.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.rs b/src/game.rs index 335e9da..a913596 100644 --- a/src/game.rs +++ b/src/game.rs @@ -25,6 +25,9 @@ pub fn new() -> State { Err(e) => panic!("Failed to parse demo map: {}", e.description()), }; + // allow only orthogonal maps + assert_eq!(demo_map.orientation, tiled::Orientation::Orthogonal); + return State { running: true, map: demo_map |