From 0f9da72dc3285019ae7cee799e4e0fb6f24307d3 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Tue, 10 Sep 2002 12:06:16 +0000 Subject: [PATCH] Planet display wraps around properly east/west git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@28 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/lander.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sc2/src/sc2code/planets/lander.c b/sc2/src/sc2code/planets/lander.c index 8e2008db7..93474e07a 100644 --- a/sc2/src/sc2code/planets/lander.c +++ b/sc2/src/sc2code/planets/lander.c @@ -1212,6 +1212,10 @@ ScrollPlanetSide (SIZE dx, SIZE dy, SIZE CountDown) s.frame = pSolarSysState->TopoFrame; SetGraphicScale (1 << (MAG_SHIFT + 8)); DrawStamp (&s); + s.origin.x += MAP_WIDTH << MAG_SHIFT; + DrawStamp (&s); + s.origin.x -= MAP_WIDTH << (MAG_SHIFT + 1); + DrawStamp (&s); SetGraphicScale (0); }