From e30ed58aa0ec037c9e98c0a9896ca16299538ba2 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 14 Jan 2012 14:48:45 +0000 Subject: [PATCH] Fix parallaxed sector display in Mapster32 on Polymer. git-svn-id: https://svn.eduke32.com/eduke32@2257 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 9c0f7c97f..8f8565572 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -817,7 +817,7 @@ void ExtSetupMapFilename(const char *mapname) void ExtLoadMap(const char *mapname) { int32_t i; - int32_t sky=LA; + int32_t sky=0; getmessageleng = 0; getmessagetimeoff = 0; @@ -826,8 +826,7 @@ void ExtLoadMap(const char *mapname) // old-fashioned multi-psky handling - for (i=0; i<8; i++) - pskyoff[i] = 0; + Bmemset(pskyoff, 0, sizeof(pskyoff)); for (i=0; i