aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 2a0e471..5ba2e7d 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -239,6 +239,13 @@ World *World::goInsideStructure(Player *p){
return this;
}
+void World::addHole(unsigned int start,unsigned int end){
+ unsigned int i;
+ for(i=start;i<end;i++){
+ line[i].y=0;
+ }
+}
+
IndoorWorld::IndoorWorld(void){