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

Codechange: Replace some p1/p2 parameter names with better names (#10658)

This commit is contained in:
rubidium42
2023-04-15 15:11:41 +02:00
committed by GitHub
parent 387d5eb74f
commit b19f42ecd9
2 changed files with 32 additions and 32 deletions

View File

@@ -96,7 +96,7 @@ static void v_PositionStatusbar(int32 new_value)
/**
* Redraw the smallmap after a colour scheme change.
* @param p1 Callback parameter.
* @param new_value Callback parameter.
*/
static void RedrawSmallmap(int32 new_value)
{
@@ -112,7 +112,7 @@ static void UpdateLinkgraphColours(int32 new_value)
MarkWholeScreenDirty();
}
static void StationSpreadChanged(int32 p1)
static void StationSpreadChanged(int32 new_value)
{
InvalidateWindowData(WC_SELECT_STATION, 0);
InvalidateWindowData(WC_BUILD_STATION, 0);