Fix name prefix of TraceRestrictNewsControlField enum values

This commit is contained in:
Jonathan G Rennison
2021-05-25 18:21:24 +01:00
parent f2aa034a58
commit 112b235b71
3 changed files with 6 additions and 6 deletions

View File

@@ -1429,11 +1429,11 @@ static void DrawInstructionString(const TraceRestrictProgram *prog, TraceRestric
case TRIT_NEWS_CONTROL:
switch (static_cast<TraceRestrictNewsControlField>(GetTraceRestrictValue(item))) {
case TRRVF_TRAIN_NOT_STUCK:
case TRNCF_TRAIN_NOT_STUCK:
instruction_string = STR_TRACE_RESTRICT_TRAIN_NOT_STUCK;
break;
case TRRVF_CANCEL_TRAIN_NOT_STUCK:
case TRNCF_CANCEL_TRAIN_NOT_STUCK:
instruction_string = STR_TRACE_RESTRICT_TRAIN_NOT_STUCK_CANCEL;
break;