1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 12:14:11 +01:00

Codechange: make SignID an enum

This commit is contained in:
Rubidium
2025-01-21 19:06:56 +01:00
committed by rubidium42
parent 1e24b41f22
commit cda9c2759e
3 changed files with 8 additions and 5 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 0;
return ::SIGN_BEGIN;
}