From d1cc7cc12b873df85e3a8aa62b206a9dc48a7823 Mon Sep 17 00:00:00 2001 From: commy2 Date: Thu, 7 Dec 2017 23:09:19 +0100 Subject: [PATCH] Add compass control to spectator (#5870) --- addons/spectator/ui.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/spectator/ui.hpp b/addons/spectator/ui.hpp index f26572f6d5..b71dac3516 100644 --- a/addons/spectator/ui.hpp +++ b/addons/spectator/ui.hpp @@ -10,6 +10,7 @@ class RscPictureKeepAspect; class RscText; class RscToolbox; class RscTree; +class EGVAR(common,CompassControl); // Based on RscDisplayEGSpectator (sadly Arma doesn't like display inheritance) class GVAR(display) { @@ -454,6 +455,6 @@ class GVAR(display) { }; }; }; + class compass: EGVAR(common,CompassControl) {}; }; }; -