Files
@ r5998:69c1cce26321
Branch filter:
Location: cpp/openttd-patchpack/source/src/misc/array.hpp
r5998:69c1cce26321
2.3 KiB
text/x-c++hdr
(svn r8709) -Fix/Codechange: Rename the function GetStationPlatforms into GetPlatformLength because that is what it really does. Overload it because there is already a GetPlatformLength (one gives the length of the whole platform, the other gives the remaining length in a given direction). Turned both functions into methods of Station. While messing around with it, fix a problem where loading times for overhanging trains are miscomputed.