diff options
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 2df9bb1c4..3f242ed78 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -732,7 +732,7 @@ static const WindowDesc _group_desc = { void ShowPlayerGroup(PlayerID player, VehicleType vehicle_type) { - if (!IsValidPlayer(player)) return; + if (!IsValidPlayerID(player)) return; WindowClass wc; |