aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/world.cpp b/src/world.cpp
index e66fb0d..b06802c 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -1055,9 +1055,9 @@ LOOOOP:
goto LOOOOP;
}
}
-void World::addStructure(_TYPE t,BUILD_SUB sub, float x,float y,World *inside){
+void World::addStructure(BUILD_SUB sub, float x,float y,World *inside){
build.push_back(new Structures());
- build.back()->spawn(t,sub,x,y,this);
+ build.back()->spawn(sub,x,y,this);
build.back()->inWorld=this;
build.back()->inside = (World *)inside;
((IndoorWorld *)inside)->outside = this;
@@ -1065,11 +1065,11 @@ void World::addStructure(_TYPE t,BUILD_SUB sub, float x,float y,World *inside){
entity.push_back(build.back());
}
-void World::addVillage(int bCount, int npcMin, int npcMax,_TYPE t,World *inside){
+void World::addVillage(int bCount, int npcMin, int npcMax,World *inside){
std::cout << npcMin << ", " << npcMax << std::endl;
//int xwasd;
for(int i = 0; i < bCount; i++){
- addStructure(t,HOUSE,x_start + (i * 300),100,inside);
+ addStructure(HOUSE,x_start + (i * 300),100,inside);
/*std::cout<<"1\n";
HERE:
xwasd = (rand()%(int)x+1000*HLINE);