mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- SW: automatic ->sector() replacements (lots of them)
This commit is contained in:
parent
5b87370b5e
commit
4266edfa04
21 changed files with 204 additions and 204 deletions
|
@ -238,8 +238,8 @@ void DoRotatorSetInterp(DSWActor* actor)
|
|||
SPRITEp sp = &actor->s();
|
||||
short w,startwall,endwall;
|
||||
|
||||
startwall = sector[sp->sectnum].wallptr;
|
||||
endwall = startwall + sector[sp->sectnum].wallnum - 1;
|
||||
startwall = sp->sector()->wallptr;
|
||||
endwall = startwall + sp->sector()->wallnum - 1;
|
||||
|
||||
// move points
|
||||
for (w = startwall; w <= endwall; w++)
|
||||
|
@ -261,8 +261,8 @@ void DoRotatorStopInterp(DSWActor* actor)
|
|||
SPRITEp sp = &actor->s();
|
||||
short w,startwall,endwall;
|
||||
|
||||
startwall = sector[sp->sectnum].wallptr;
|
||||
endwall = startwall + sector[sp->sectnum].wallnum - 1;
|
||||
startwall = sp->sector()->wallptr;
|
||||
endwall = startwall + sp->sector()->wallnum - 1;
|
||||
|
||||
// move points
|
||||
for (w = startwall; w <= endwall; w++)
|
||||
|
@ -381,8 +381,8 @@ int DoRotator(DSWActor* actor)
|
|||
if (!pivot)
|
||||
return 0;
|
||||
|
||||
startwall = sector[sp->sectnum].wallptr;
|
||||
endwall = startwall + sector[sp->sectnum].wallnum - 1;
|
||||
startwall = sp->sector()->wallptr;
|
||||
endwall = startwall + sp->sector()->wallnum - 1;
|
||||
|
||||
// move points
|
||||
for (w = startwall, ndx = 0; w <= endwall; w++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue