diff options
Diffstat (limited to 'src/level.h')
-rw-r--r-- | src/level.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/level.h b/src/level.h index cfe40e8..7bd52e2 100644 --- a/src/level.h +++ b/src/level.h @@ -38,7 +38,7 @@ public: void update(); void draw(Bitmap& bitmap, int xo, int yo); - Train* addVehicle(); + Train& addVehicle(); void toggleTile(int x, int y); void save() const; @@ -51,4 +51,4 @@ private: std::vector<Train> m_vehicles; }; -TrackDirection ChooseDirection(Level& level, int x, int y);
\ No newline at end of file +TrackDirection ChooseDirection(Level& level, int x, int y); |