diff options
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/entities.h b/include/entities.h index f26863e..d7ad2c0 100644 --- a/include/entities.h +++ b/include/entities.h @@ -37,12 +37,13 @@ enum MOB_SUB { }; enum BUILD_SUB{ - TOWN_HALL = 1, - HOUSE, - HOUSE2, - HOUSE3, - HOUSE4, - FOUNTAIN + TOWN_HALL = 0, + HOUSE = 1, + HOUSE2 = 2, + HOUSE3 = 3, + HOUSE4 = 4, + FOUNTAIN = 5, + LAMP_POST = 6 }; typedef struct { @@ -211,7 +212,7 @@ public: Structures(); ~Structures(); - unsigned int spawn(_TYPE, BUILD_SUB, float, float, World *); + unsigned int spawn(BUILD_SUB, float, float, World *); char *save(void); void load(char *s); |