From 9bdac4d86880e83bd89cdd3e62d632d40cf77120 Mon Sep 17 00:00:00 2001 From: terminx Date: Wed, 27 Jan 2016 07:16:40 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/astub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index cb07757f2..c7151eee4 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -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; } }