- initsect

This commit is contained in:
Christoph Oelckers 2021-11-23 00:41:21 +01:00
parent f09e7ed32f
commit 80f80ed5e5
7 changed files with 13 additions and 11 deletions

View file

@ -40,8 +40,8 @@ void GrabMap()
void UpdateMap()
{
if (sector[initsect].ceilingpal != 3 || (PlayerList[nLocalPlayer].nTorch != 0)) {
MarkSectorSeen(initsect);
if (initsectp->ceilingpal != 3 || (PlayerList[nLocalPlayer].nTorch != 0)) {
MarkSectorSeen(sectnum(initsectp));
}
}