mirror of
https://github.com/DrBeef/Raze.git
synced 2025-03-28 03:40:47 +00:00
- reverted wall pointer fix for FANSPRITE setup.
Turns out the bug came from the DOS code, but changing this breaks the fans.
This commit is contained in:
parent
9325f1d536
commit
fd6d09273f
2 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ void prelevel_d(int g, TArray<DDukeActor*>& actors)
|
|||
{
|
||||
case FANSHADOW:
|
||||
case FANSPRITE:
|
||||
wal.cstat |= CSTAT_WALL_BLOCK | CSTAT_WALL_BLOCK_HITSCAN;
|
||||
//wal.cstat |= CSTAT_WALL_BLOCK | CSTAT_WALL_BLOCK_HITSCAN; Original code assigned this to 'wall', i.e. wall[0]
|
||||
animwall[numanimwalls].wall = &wal;
|
||||
numanimwalls++;
|
||||
break;
|
||||
|
|
|
@ -730,7 +730,7 @@ void prelevel_r(int g, TArray<DDukeActor*>& actors)
|
|||
switch (wal->overpicnum)
|
||||
{
|
||||
case FANSPRITE:
|
||||
wal->cstat |= CSTAT_WALL_BLOCK | CSTAT_WALL_BLOCK_HITSCAN;
|
||||
//wal.cstat |= CSTAT_WALL_BLOCK | CSTAT_WALL_BLOCK_HITSCAN; Original code assigned this to 'wall', i.e. wall[0]
|
||||
animwall[numanimwalls].wall = wal;
|
||||
numanimwalls++;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue