Changeset - r24146:d1bd964d9e65
[Not reviewed]
master
0 1 0
Pavel Stupnikov - 4 years ago 2020-04-10 08:05:52
dp@dpointer.org
Fix a5681d3e: Make goal question ID use 16 bits again (#8072)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/goal.cpp
Show inline comments
 
@@ -244,7 +244,7 @@ CommandCost CmdSetGoalCompleted(TileInde
 
 */
 
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);
 

	
0 comments (0 inline, 0 general)