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;