summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp2
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;