aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-14 17:40:59 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-14 17:40:59 -0400
commitb04891e13dcb33ee8ea26470deae440d0c664420 (patch)
tree89cf2d173738925bcd788e5e0d379dc0a54bb81d /src/main.cpp
parent78bd3d738a4b1cec8bd4504a36120f5795029e8b (diff)
cheap-excuse jump fix
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4d48d81..f3e95ee 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -25,6 +25,8 @@ Structures build;
UIClass ui; //Yep
World *currentWorld;//u-huh
+World *spawn;
+
void logic();
void render();
@@ -89,7 +91,7 @@ int main(int argc,char **argv){
w2=new World(4,w,NULL);
w=new World(10,NULL,w2);
- currentWorld=w;
+ spawn=currentWorld=w;
currentWorld->addLayer(3);
currentWorld->addLayer(4);
// shh