raze/source
Mitchell Richters 1ee1c0c920 Revert "- fixed: updatesectorneighborz may not return -1."
This reverts commit c074b0995648a4057c516e5646f5fe7a11719317.

* The commit notes talk about `updatesectorneighborz()`, but the change is applied to `nextsectorneighborz()`. Further to this, `nextsectorneighborz()` is only called from some ptr wrappers in `build.h` and they both test against `-1` return values.

```
inline sectortype* nextsectorneighborzptr(int16_t sectnum, int32_t refz, int16_t topbottom, int16_t direction)
{
	auto sect = nextsectorneighborz(sectnum, refz, topbottom, direction);
	return sect == -1? nullptr : &sector[sect];
}

inline sectortype* nextsectorneighborzptr(sectortype* sectp, int32_t refz, int16_t topbottom, int16_t direction)
{
	auto sect = nextsectorneighborz(sector.IndexOf(sectp), refz, topbottom, direction);
	return sect == -1? nullptr : &sector[sect];
}
```

* Also fixes broken Duke elevators and possibly a whole raft of issues.
2021-12-26 23:10:04 +01:00
..
build Revert "- fixed: updatesectorneighborz may not return -1." 2021-12-26 23:10:04 +01:00
common - added savegame support for the new actor management. 2021-12-26 23:10:03 +01:00
core - match alignment of NPOT flat textures to the software renderer 2021-12-26 23:10:04 +01:00
games - Blood: Fix some collision issues found following refactoring. 2021-12-26 23:10:04 +01:00
glbackend Revert "- disabled palette emulation for the GLES backend." 2021-12-11 13:23:39 +01:00
platform - remaining parts of GLES. 2021-09-18 13:03:36 +02:00
thirdparty - added all #includes needed to compile on Windows without using precompiled headers. 2021-12-14 12:24:09 +01:00
CMakeLists.txt - actor lists refactored. 2021-12-26 23:09:54 +01:00
g_pch.h - removed compat.h entirely, all that was left was redundant #includes. 2021-12-14 12:27:41 +01:00
gitinfo.cpp