From 13236a26d3c1f4b09e105af42872ab4ad2753208 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Sun, 24 Apr 2016 22:50:42 -0400 Subject: Stuff --- include/entities.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/entities.hpp b/include/entities.hpp index 460dc93..f3fcf0a 100644 --- a/include/entities.hpp +++ b/include/entities.hpp @@ -68,7 +68,6 @@ enum BUILD_SUB{ LAMP_POST, /**< a lamppost, creates light */ FIRE_PIT, /**< a firepit, creates fire particles / light */ STALL_MARKET = 70, /**< a stall for a merchant */ - STALL_TRADER /**< TODO */ }; /** @@ -468,7 +467,7 @@ public: } void follow(Entity *f){ - following=f; + following = f; belongsTo = true; } }; -- cgit v1.2.3 From 53800e07513f4a625ba70ff7d805d158a6b42121 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Sun, 24 Apr 2016 22:53:43 -0400 Subject: Stuff --- include/entities.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/entities.hpp b/include/entities.hpp index 781e3ce..864c863 100644 --- a/include/entities.hpp +++ b/include/entities.hpp @@ -68,6 +68,7 @@ enum BUILD_SUB{ LAMP_POST, /**< a lamppost, creates light */ FIRE_PIT, /**< a firepit, creates fire particles / light */ STALL_MARKET = 70, /**< a stall for a merchant */ + STALL_TRADER }; /** -- cgit v1.2.3