From 462867b1d99cf63a27566449cbf8f0feda7f1ec6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Oct 2013 14:30:31 +0300 Subject: Revert "Remove setMap from being constructor." This reverts commit 9cf563fa7f4059bfddd82efdaa89df2ed07a6d7c. --- src/being/being.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 90a351af0..313a92c2d 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -155,8 +155,10 @@ class Being : public ActorSprite, public ConfigListener * * @param id a unique being id * @param subtype partly determines the type of the being + * @param map the map the being is on */ - Being(const int id, const Type type, const uint16_t subtype); + Being(const int id, const Type type, const uint16_t subtype, + Map *const map); A_DELETE_COPY(Being) -- cgit v1.2.3-70-g09d2