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 4f7a551a4..baff7798d 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -811,7 +811,7 @@ void ShowPlayerGroup(PlayerID player, VehicleType vehicle_type)
WindowNumber num = (vehicle_type << 11) | VLW_GROUP_LIST | player;
DeleteWindowById(wc, num);
- Window *w = AllocateWindowDescFront(&_group_desc, num);
+ Window *w = AllocateWindowDescFront<Window>(&_group_desc, num);
if (w == NULL) return;
w->window_class = wc;