Fix issue with the info message for toggling floor texture expansion bit in Mapster32 only reading the value from the sector's ceiling instead of what you were actually pointing at.

git-svn-id: https://svn.eduke32.com/eduke32@5585 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-01-27 07:16:40 +00:00
parent e4e2954eea
commit 9bdac4d868

View file

@ -5128,7 +5128,7 @@ static void Keys3d(void)
{
AIMED_CEILINGFLOOR(stat) ^= 8;
message("Sector %d %s texture expansion bit %s", searchsector, typestr[searchstat],
ONOFF(sector[searchsector].ceilingstat&8));
ONOFF(AIMED_CEILINGFLOOR(stat)&8));
asksave = 1;
}
}