Dashing can activate lines. With ragekit it can bust walls.
Some minor 3D floor handling cleanup.
This commit is contained in:
parent
1ba8aed4a7
commit
dcf612aab5
11 changed files with 174 additions and 94 deletions
|
|
@ -206,13 +206,13 @@ Class mkBloodDrop : Actor
|
|||
A_StartSound("misc/blooddrop",volume:.1);
|
||||
dead = true;
|
||||
SWWMUtility.SetToSlope(self,FRandom[Blood](0,360));
|
||||
tracksector = CurSector;
|
||||
tracksector = FloorSector;
|
||||
trackplane = 0;
|
||||
F3DFloor ff;
|
||||
for ( int i=0; i<CurSector.Get3DFloorCount(); i++ )
|
||||
for ( int i=0; i<FloorSector.Get3DFloorCount(); i++ )
|
||||
{
|
||||
if ( !(CurSector.Get3DFloor(i).top.ZAtPoint(pos.xy) ~== floorz) ) continue;
|
||||
ff = CurSector.Get3DFloor(i);
|
||||
if ( !(FloorSector.Get3DFloor(i).top.ZAtPoint(pos.xy) ~== floorz) ) continue;
|
||||
ff = FloorSector.Get3DFloor(i);
|
||||
break;
|
||||
}
|
||||
if ( ff )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue