From 0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 14:30:20 +0300 Subject: Add strong typed int type BeingId. --- src/flooritem.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/flooritem.cpp') diff --git a/src/flooritem.cpp b/src/flooritem.cpp index 0de19f886..664beecf8 100644 --- a/src/flooritem.cpp +++ b/src/flooritem.cpp @@ -43,8 +43,11 @@ extern volatile int cur_time; -FloorItem::FloorItem(const int id, const int itemId, const int x, const int y, - const int amount, const unsigned char color) : +FloorItem::FloorItem(const BeingId id, + const int itemId, + const int x, const int y, + const int amount, + const unsigned char color) : ActorSprite(id), mItemId(itemId), mX(x), -- cgit v1.2.3-70-g09d2