src/roadveh_cmd.cpp
changeset 7968 45a32751abe5
parent 7967 a230c063a672
child 8005 2318a0547719
--- a/src/roadveh_cmd.cpp	Sun Nov 25 15:35:25 2007 +0000
+++ b/src/roadveh_cmd.cpp	Sun Nov 25 19:45:09 2007 +0000
@@ -1689,7 +1689,7 @@
 		uint turn_around_start_frame = RVC_TURN_AROUND_START_FRAME;
 
 		RoadBits tram;
-		if (v->u.road.roadtype == ROADTYPE_TRAM && CountBits(tram = GetRoadBits(v->tile, ROADTYPE_TRAM)) == 1) {
+		if (v->u.road.roadtype == ROADTYPE_TRAM && CountBits(tram = GetAnyRoadBits(v->tile, ROADTYPE_TRAM)) == 1) {
 			/*
 			 * The tram is turning around with one tram 'roadbit'. This means that
 			 * it is using the 'big' corner 'drive data'. However, to support the