From 6d65814169fae052b784eb2cab750e62f0eaf7b9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 23 Apr 2020 11:53:00 +0200 Subject: [PATCH] Bag is now a resource. --- inventory/bag.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory/bag.h b/inventory/bag.h index e79a2ae..89d5d91 100644 --- a/inventory/bag.h +++ b/inventory/bag.h @@ -23,7 +23,7 @@ SOFTWARE. #ifndef BAG_H #define BAG_H -#include "core/reference.h" +#include "core/resource.h" #include "core/vector.h" #include "../item_enums.h" @@ -31,8 +31,8 @@ SOFTWARE. class ItemTemplate; class ItemInstance; -class Bag : public Reference { - GDCLASS(Bag, Reference); +class Bag : public Resource { + GDCLASS(Bag, Resource); public: int get_allowed_item_types() const;