summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2022-02-27 13:11:49 -0700
committercflip <cflip@cflip.net>2022-02-27 13:11:49 -0700
commit5e35269921281f38f77fcfe2150c937290cafe46 (patch)
tree052036c6af1b93e85050554f5862ca71a5ad1bb0 /src/main.cpp
parent8c8096dab1538592e6bacea6ba4e1f9882ae6e0b (diff)
Automatically set train direction on right-click
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7b22928..f2099d5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -14,7 +14,7 @@ int main(int argc, char** argv)
Level level(32, 32);
Bitmap bitmap(Width, Height);
- Train car;
+ Train car(level);
int xOffs = 0, yOffs = 0;
int xDrag, yDrag;