(svn r2289) - Fix (regression): check p1 param of road-depot building instead of unused p2 (typo). Thanks peter1138.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 19 years ago
parent ab954a934a
commit fe223eccf4

@ -623,7 +623,7 @@ int32 CmdBuildRoadDepot(int x, int y, uint32 flags, uint32 p1, uint32 p2)
SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION);
if (p2 > 3) return CMD_ERROR; // check direction
if (p1 > 3) return CMD_ERROR; // check direction
FindLandscapeHeight(&ti, x, y);

Loading…
Cancel
Save