Scripts: Fix ambiguous base class (#1216)

This commit is contained in:
David Markowitz
2023-10-09 13:31:25 -07:00
committed by GitHub
parent 094797881b
commit 500ae4d6e5
9 changed files with 17 additions and 33 deletions

View File

@@ -8,7 +8,7 @@ struct ActivityTimer {
float_t runTime = 0;
};
class ActivityManager : public CppScripts::Script {
class ActivityManager : virtual public CppScripts::Script {
public:
static bool IsPlayerInActivity(Entity* self, LWOOBJID playerID);
static void UpdatePlayer(Entity* self, LWOOBJID playerID, bool remove = false);