mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
- eliminated wallsofsector.
This commit is contained in:
parent
84b17a8a53
commit
7d9a4ea70d
38 changed files with 119 additions and 129 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue