]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/engineer.cpp
Rename Section to Block for a closer match with real railway terminology
[r2c2.git] / source / engineer / engineer.cpp
index 573ef6f13ca7ad48637cbc5aed941fa29bdf08e8..bb29591094fae7e8852f2438ada6eb39d8267fe6 100644 (file)
@@ -276,7 +276,7 @@ void Engineer::button_press(int x, int y, unsigned btn)
        {
                if(placing_train)
                {
-                       Section *sect=trfc_man->get_section_by_track(track->get_track());
+                       Block *block=trfc_man->get_block_by_track(&track->get_track());
                }
                else
                {