1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-26 21:54:22 +01:00

Codechange: Remove write-only spec_id from RoadStopSpec. (#12582)

Comment is incorrect about its value too.
This commit is contained in:
Peter Nelson
2024-04-26 21:56:30 +01:00
committed by GitHub
parent a6d401debf
commit 72c55128d2
2 changed files with 0 additions and 2 deletions

View File

@@ -4846,7 +4846,6 @@ static ChangeInfoResult RoadStopChangeInfo(uint id, int numinfo, int prop, ByteR
uint32_t classid = buf->ReadDWord();
rs->cls_id = RoadStopClass::Allocate(BSWAP32(classid));
rs->spec_id = id + i;
break;
}