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

@@ -1,7 +1,7 @@
#pragma once
#include "CppScripts.h"
class BaseEnemyApe : public CppScripts::Script {
class BaseEnemyApe : virtual public CppScripts::Script {
public:
void OnStartup(Entity* self) override;
void OnDie(Entity* self, Entity* killer) override;