diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-13 07:07:04 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-13 07:07:04 -0500 |
commit | 1177a2ec843533b76fa9bd8573686f684103075c (patch) | |
tree | 848b6c918b85ff2413cef5d5ca9ab8122b351a23 /src/world.cpp | |
parent | ac52ecab5df8382b51d48a9431f672bfc502a400 (diff) |
dialog buttons
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp index 049e498..a6fe540 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -589,7 +589,7 @@ World *World::goWorldLeft(Player *p){ World *World::goWorldRight(Player *p){ if(toRight&&p->loc.x+p->width>x_start+getWidth(this)-HLINE*10){ p->loc.x=toRight->x_start+HLINE*10; - p->loc.y=toRight->line[toRight->lineCount-GEN_INC-1].y; + p->loc.y=toRight->line[0].y; return toRight; } return this; |