Handle double instructions correctly when deleting stations/depots/etc.

Fix some whitespace and comment typos.
This commit is contained in:
Jonathan G Rennison
2015-12-15 18:36:02 +00:00
parent a93714a720
commit 9c5189b212
3 changed files with 4 additions and 3 deletions

View File

@@ -1084,6 +1084,7 @@ void TraceRestrictRemoveDestinationID(TraceRestrictOrderCondAuxField type, uint1
SetTraceRestrictValueDefault(item, TRVT_ORDER); // this updates the instruction in-place
}
}
if (IsTraceRestrictDoubleItem(item)) i++;
}
}