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

@@ -10,7 +10,7 @@ struct ItemSetting {
/**
* Scripts that allows for the addition and removal of sets of items by an NPC
*/
class NPCAddRemoveItem : public CppScripts::Script {
class NPCAddRemoveItem : virtual public CppScripts::Script {
protected:
void OnMissionDialogueOK(Entity* self, Entity* target, int missionID, eMissionState missionState) override;
virtual std::map<uint32_t, std::vector<ItemSetting>> GetSettings();