- eliminated wallsofsector.

This commit is contained in:
Christoph Oelckers 2022-11-15 15:24:17 +01:00
parent 84b17a8a53
commit 7d9a4ea70d
38 changed files with 119 additions and 129 deletions

View file

@ -212,7 +212,7 @@ void ClearMovementInterpolations()
void setsectinterpolate(sectortype* sect)
{
for (auto&wal : wallsofsector(sect))
for (auto&wal : sect->walls)
{
StartInterpolation(&wal, Interp_Wall_X);
StartInterpolation(&wal, Interp_Wall_Y);
@ -230,7 +230,7 @@ void setsectinterpolate(sectortype* sect)
void clearsectinterpolate(sectortype* sect)
{
for (auto& wal : wallsofsector(sect))
for (auto& wal : sect->walls)
{
StopInterpolation(&wal, Interp_Wall_X);
StopInterpolation(&wal, Interp_Wall_Y);