1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix tunnel dumping

This commit is contained in:
Marijn van der Werf
2016-10-22 01:04:17 +02:00
parent 76188d2c4c
commit ffbe380da7
2 changed files with 7 additions and 7 deletions

View File

@@ -153,8 +153,8 @@ namespace Printer {
s += "\n";
for (int direction = 0; direction < 4; ++direction) {
std::string leftEdge = PrintSideTunnelEdge(tunnelCalls[direction][2]);
std::string rightEdge = PrintSideTunnelEdge(tunnelCalls[direction][3]);
std::string leftEdge = PrintSideTunnelEdge(tunnelCalls[direction][3]);
std::string rightEdge = PrintSideTunnelEdge(tunnelCalls[direction][2]);
s += String::Format(" %s %s ", leftEdge.c_str(), rightEdge.c_str());
}
s += "\n";
@@ -204,7 +204,7 @@ namespace Printer {
} else {
offset = String::Format("+%d", edge.offset);
}
s = String::Format("%3s/%X ", offset.c_str(), edge.type);
s = String::Format("%3s/%X", offset.c_str(), edge.type);
break;
}