1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Show actual/expected count

This commit is contained in:
Marijn van der Werf
2016-08-28 20:03:53 +02:00
parent 8603f785e6
commit afd85a7df6

View File

@@ -346,7 +346,7 @@ bool testTrackElement(uint8 rideType, uint8 trackType, utf8string *error) {
if (newCallCount != oldCallCount) {
// TODO: array with errors?
sprintf(*error, "Call counts don't match [direction:%d trackSequence:%d]", direction, trackSequence);
sprintf(*error, "Call counts don't match (was %d, expected %d) [direction:%d trackSequence:%d]", newCallCount, oldCallCount, direction, trackSequence);
return false;
}