summaryrefslogtreecommitdiff
path: root/src/floor_item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/floor_item.cpp')
-rw-r--r--src/floor_item.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/floor_item.cpp b/src/floor_item.cpp
index fbe606b4..000835ad 100644
--- a/src/floor_item.cpp
+++ b/src/floor_item.cpp
@@ -26,10 +26,10 @@
#include "resources/image.h"
-FloorItem::FloorItem(unsigned int id,
- unsigned int itemId,
- unsigned short x,
- unsigned short y,
+FloorItem::FloorItem(int id,
+ int itemId,
+ int x,
+ int y,
Map *map):
mId(id),
mX(x),
@@ -51,7 +51,7 @@ FloorItem::~FloorItem()
delete mItem;
}
-unsigned int FloorItem::getItemId() const
+int FloorItem::getItemId() const
{
return mItem->getId();
}