* Updated to ZDoom r3156:

- Fixed: The shareware -file check wasn't working anymore.
- Damn integer type confusion... :(
- GCC warning fixes (GCC stupidity for the most part.)

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1199 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2011-02-20 11:58:37 +00:00
parent 26999e7cc2
commit dcf55d28a6
40 changed files with 160 additions and 126 deletions

View file

@ -1329,10 +1329,8 @@ void R_Subsector (subsector_t *sub)
fake3D = FAKE3D_FAKECEILING;
tempsec = *fakeFloor->model;
tempsec.ceilingplane = *fakeFloor->bottom.plane;
if (!(fakeFloor->flags & FF_THISINSIDE) &&
!(fakeFloor->flags & FF_INVERTSECTOR) ||
fakeFloor->flags & FF_THISINSIDE &&
fakeFloor->flags & FF_INVERTSECTOR)
if ((!(fakeFloor->flags & FF_THISINSIDE) && !(fakeFloor->flags & FF_INVERTSECTOR)) ||
(fakeFloor->flags & FF_THISINSIDE && fakeFloor->flags & FF_INVERTSECTOR))
{
tempsec.SetTexture(sector_t::ceiling, tempsec.GetTexture(sector_t::floor));
}