From 90909fb803e0c40a67b08cd41f6d0d447ee62f74 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sat, 17 Dec 2022 11:54:18 -0500 Subject: Fix door logic, off by 1 error We were popping the door from the vector and then referencing it by it's index which meant we'd always reference the WRONG door --- maps/lvl5/dng.map | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 maps/lvl5/dng.map (limited to 'maps') diff --git a/maps/lvl5/dng.map b/maps/lvl5/dng.map new file mode 100644 index 0000000..0ad94ca --- /dev/null +++ b/maps/lvl5/dng.map @@ -0,0 +1,16 @@ +w w w w w w w w w +w 0 0 0 0 a 0 2 w +w p 0 0 0 w w w w +w 0 0 0 0 b 0 3 w +w 0 0 0 0 w w w w +w 0 0 0 0 c 0 4 w +w 0 0 0 0 w w w w +w 0 0 0 0 d 1 t w +w 0 0 0 0 w w w w +w 0 0 0 0 d 0 4 w +w 0 0 0 0 w w w w +w 0 0 0 0 a 0 t w +w 0 0 0 0 w w w w +w 0 0 0 0 w w w w +w 0 0 0 0 0 0 1 w +w w w w w w w w w -- cgit v1.2.3-54-g00ecf