Fix 8706dcd9: [Script] Byte-swap grfids to match normal expectations.

This commit is contained in:
Michael Lutz
2021-08-10 21:09:35 +02:00
parent 580dd118cb
commit b14681891d
2 changed files with 8 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ public:
static uint32 GetVersion(uint32 grfid);
/**
* Get the BridgeID of a bridge at a given tile.
* Get the name of a loaded NewGRF.
* @param grfid The NewGRF to query.
* @pre ScriptNewGRF::IsLoaded(grfid).
* @return The name of the NewGRF or nullptr if no name is defined.