From a7069d9ba4f19da957cdf057e13db73046cbfc49 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 2 Jun 2007 23:31:43 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@548 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/gameexec.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/polymer/eduke32/source/gameexec.c b/polymer/eduke32/source/gameexec.c index 427d34424..5b428da20 100644 --- a/polymer/eduke32/source/gameexec.c +++ b/polymer/eduke32/source/gameexec.c @@ -2258,6 +2258,13 @@ static void DoSector(int iSet, int lVar1, int lLabelID, int lVar2) case SECTOR_CEILINGXPANNING: if (iSet) sector[iSector].ceilingxpanning=lValue; + else + SetGameVarID(lVar2, sector[iSector].ceilingxpanning,g_i,g_p); + break; + + case SECTOR_CEILINGYPANNING: + if (iSet) + sector[iSector].ceilingypanning=lValue; else SetGameVarID(lVar2, sector[iSector].ceilingypanning,g_i,g_p); break;