mirror of
https://github.com/DrBeef/Raze.git
synced 2025-04-06 07:50:56 +00:00
- deleted ffloorZ.
This commit is contained in:
parent
84ce8b29f2
commit
8a40fbb020
1 changed files with 2 additions and 3 deletions
|
@ -5093,15 +5093,14 @@ void MoveDude(DBloodActor* actor)
|
|||
else
|
||||
actor->spr.flags |= 4;
|
||||
|
||||
double ffloorZ = floorZ * zinttoworld;
|
||||
switch (tileGetSurfType(floorColl))
|
||||
{
|
||||
case kSurfWater:
|
||||
gFX.fxSpawnActor(FX_9, actor->sector(), DVector3(actor->spr.pos, ffloorZ), 0);
|
||||
gFX.fxSpawnActor(FX_9, actor->sector(), DVector3(actor->spr.pos, floorZ), 0);
|
||||
break;
|
||||
case kSurfLava:
|
||||
{
|
||||
auto pFX = gFX.fxSpawnActor(FX_10, actor->sector(), DVector3(actor->spr.pos, ffloorZ), 0);
|
||||
auto pFX = gFX.fxSpawnActor(FX_10, actor->sector(), DVector3(actor->spr.pos, floorZ), 0);
|
||||
if (pFX)
|
||||
{
|
||||
for (int i = 0; i < 7; i++)
|
||||
|
|
Loading…
Reference in a new issue