]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/train.h
Clear end_of_route if we have to free blocks from the end
[r2c2.git] / source / libmarklin / train.h
index 87fd4a5c839672db096ee79f87b89f7ed886c986..5f852564074f37b5247c29f0e04a8974e569341f 100644 (file)
@@ -161,7 +161,7 @@ private:
        void turnout_path_changed(Track &);
        void halt_event(bool);
        void block_reserved(const Block &, const Train *);
-       unsigned reserve_more();
+       void reserve_more();
        void check_turnout_paths(bool);
        float get_reserved_distance_until(const Block *, bool) const;
        float get_real_speed(unsigned) const;