(svn r11091) -Codechange: Partial rewrite of the road management code of towns, in order to make it more readable and with improved performance. (FS#1161 by skidd13)
This commit is contained in:
@@ -126,7 +126,7 @@ static inline RoadBits ComplementRoadBits(RoadBits r)
|
||||
*/
|
||||
static inline RoadBits DiagDirToRoadBits(DiagDirection d)
|
||||
{
|
||||
return (RoadBits)(1U << (3 ^ d));
|
||||
return (RoadBits)(ROAD_NW << (3 ^ d));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user