mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- 3x add_int_z.
This commit is contained in:
parent
fe0a10ed29
commit
6482fefeb3
2 changed files with 3 additions and 3 deletions
|
@ -1903,7 +1903,7 @@ void movetransports_d(void)
|
|||
for (int l = 0; l < 9; l++)
|
||||
{
|
||||
auto q = spawn(ps[p].GetActor(), WATERBUBBLE);
|
||||
if (q) q->add_int_z(krand() & 16383);
|
||||
if (q) q->spr.pos.Z += krandf(64);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3006,7 +3006,7 @@ void moveexplosions_d(void) // STATNUM 5
|
|||
case BLOODSPLAT4:
|
||||
|
||||
if (act->temp_data[0] == 7 * 26) continue;
|
||||
act->add_int_z(16 + (krand() & 15));
|
||||
act->spr.pos.Z += 1 / 16. + krandf(1 / 16.);
|
||||
act->temp_data[0]++;
|
||||
if ((act->temp_data[0] % 9) == 0) act->spr.yrepeat++;
|
||||
continue;
|
||||
|
|
|
@ -2935,7 +2935,7 @@ void moveexplosions_r(void) // STATNUM 5
|
|||
case BLOODSPLAT4:
|
||||
|
||||
if (act->temp_data[0] == 7 * 26) continue;
|
||||
act->add_int_z(16 + (krand() & 15));
|
||||
act->spr.pos.Z += 1 / 16. + krandf(1 / 16.);
|
||||
act->temp_data[0]++;
|
||||
if ((act->temp_data[0] % 9) == 0) act->spr.yrepeat++;
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue