diff options
author | cflip <cflip@cflip.net> | 2022-01-25 17:18:26 -0700 |
---|---|---|
committer | cflip <cflip@cflip.net> | 2022-01-25 17:18:26 -0700 |
commit | 200988215a3f5674488da928d3d5606ed7e5e2ec (patch) | |
tree | 953e5c0118b191bebf56851a48292094da07fa87 | |
parent | 207ee62eaabac19e5a24e45adf773f81ca48f896 (diff) |
No need to specify tile ids above 1
-rw-r--r-- | level.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -18,11 +18,11 @@ private: enum RailDirection { NorthSouth = 1, - EastWest = 2, - SouthEast = 3, - SouthWest = 4, - NorthWest = 5, - NorthEast = 6, + EastWest, + SouthEast, + SouthWest, + NorthWest, + NorthEast, }; RailDirection ChooseDirection(Level& level, int x, int y);
\ No newline at end of file |