diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-29 09:17:43 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-29 09:17:43 -0400 |
commit | 0e50f3c18c68e4c42546a52147e10cac1202b96f (patch) | |
tree | 3c0d9f1dce02d0aba44e36f4bd9dd216caa9c414 /src/world.cpp | |
parent | 0e5c78738efd5206ace1d000fd4160e223ba8597 (diff) |
Made background painting dynamic, and made new tree backdrops
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 4 |
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){ |