From 5e35269921281f38f77fcfe2150c937290cafe46 Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 27 Feb 2022 13:11:49 -0700 Subject: Automatically set train direction on right-click --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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; -- cgit v1.2.3