Make goal quest ID use 16 bits again
This commit is contained in:
@@ -74,7 +74,7 @@ This is usable for any OpenTTD servers
|
||||
|
||||
== CHANGELOG ==
|
||||
|
||||
*** 1.10.0-RC1 (1 Apr 2020) ***
|
||||
*** 1.10.0 (1 Apr 2020) ***
|
||||
- OpenTTD update.
|
||||
|
||||
*** 1.10.0-RC1 (18 Mar 2020) ***
|
||||
|
||||
@@ -244,7 +244,7 @@ CommandCost CmdSetGoalCompleted(TileIndex tile, DoCommandFlag flags, uint32 p1,
|
||||
*/
|
||||
CommandCost CmdGoalQuestion(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text)
|
||||
{
|
||||
uint16 uniqueid = (GoalType)GB(p1, 0, 16);
|
||||
uint16 uniqueid = (uint16)GB(p1, 0, 16);
|
||||
CompanyID company = (CompanyID)GB(p1, 16, 8);
|
||||
ClientID client = (ClientID)GB(p1, 16, 16);
|
||||
|
||||
|
||||
@@ -83,4 +83,4 @@ const byte _openttd_revision_tagged = 1;
|
||||
const uint32 _openttd_newgrf_version = 1 << 28 | 10 << 24 | 0 << 20 | 1 << 19 | 28004;
|
||||
|
||||
|
||||
const char _citymania_version[] = "20200401-master-m4cccc370e9 01.04.20";
|
||||
const char _citymania_version[] = "20200401-master-m7942f63772 10.04.20";
|
||||
|
||||
Reference in New Issue
Block a user