1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-20 19:02:41 +01:00

Codechange: strongly type SignID

This commit is contained in:
Rubidium
2025-02-01 11:53:09 +01:00
committed by rubidium42
parent 42d6a12874
commit b9777269ce
3 changed files with 4 additions and 7 deletions

View File

@@ -84,5 +84,5 @@
if (!ScriptObject::Command<CMD_PLACE_SIGN>::Do(&ScriptInstance::DoCommandReturnSignID, location, text)) return INVALID_SIGN;
/* In case of test-mode, we return SignID 0 */
return ::SIGN_BEGIN;
return SignID::Begin();
}