Codechange: Pass TileDesc by reference.
This commit is contained in:
committed by
Peter Nelson
parent
012daaa3d9
commit
96f260e718
@@ -45,10 +45,10 @@ static CommandCost ClearTile_Void(TileIndex, DoCommandFlags)
|
||||
}
|
||||
|
||||
|
||||
static void GetTileDesc_Void(TileIndex, TileDesc *td)
|
||||
static void GetTileDesc_Void(TileIndex, TileDesc &td)
|
||||
{
|
||||
td->str = STR_EMPTY;
|
||||
td->owner[0] = OWNER_NONE;
|
||||
td.str = STR_EMPTY;
|
||||
td.owner[0] = OWNER_NONE;
|
||||
}
|
||||
|
||||
static void TileLoop_Void(TileIndex tile)
|
||||
|
||||
Reference in New Issue
Block a user