diff options
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 51f7579..8c51af0 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -621,7 +621,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; |