From 9b77c357b0e7a6aa9279ef8f29c0b244a8666e9e Mon Sep 17 00:00:00 2001 From: Luan Luciano Date: Thu, 2 Nov 2023 00:49:54 -0300 Subject: [PATCH] update --- data/menubar.xml | 2 ++ source/item.h | 2 +- source/items.h | 3 --- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/data/menubar.xml b/data/menubar.xml index a99ff09c..9a8c22f9 100644 --- a/data/menubar.xml +++ b/data/menubar.xml @@ -83,6 +83,7 @@ + @@ -91,6 +92,7 @@ + diff --git a/source/item.h b/source/item.h index 9c298c45..8b148133 100644 --- a/source/item.h +++ b/source/item.h @@ -304,7 +304,7 @@ class Item : public ItemAttributes { return getItemType().isMetaItem(); } bool hasElevation() const { - return getItemType().hasElevation(); + return getItemType().hasElevation; } // Wall alignment (vertical, horizontal, pole, corner) diff --git a/source/items.h b/source/items.h index 13288311..e1417dc0 100644 --- a/source/items.h +++ b/source/items.h @@ -294,9 +294,6 @@ class ItemType { return is_metaitem; } - bool hasElevation() const noexcept { - return hasElevation; - } bool isFloorChange() const noexcept; float getWeight() const noexcept {