aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.cpp b/src/world.cpp
index 97ec5ac..c04c88a 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -581,8 +581,8 @@ void World::addHole(unsigned int start,unsigned int end){
}
}
-int World::getStart(void){
- return -x_start;
+int World::getTheWidth(void){
+ return x_start*-2;
}
IndoorWorld::IndoorWorld(void){