mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 04:30:38 +00:00
- fixed typo in floor damage check.
This rendered the boots ineffective on lava. Fixes #114
This commit is contained in:
parent
dfa3519ebc
commit
d731bf4e57
2 changed files with 3 additions and 3 deletions
|
@ -2813,7 +2813,7 @@ void processinput_d(int snum)
|
|||
|
||||
if (p->on_ground && truefdist <= PHEIGHT + (16 << 8))
|
||||
{
|
||||
int whichsound = j == HURTRAIL ? 0 : j == FLOORSLIME ? 1 : j == FLOORPLASMA ? 3 : -1;
|
||||
int whichsound = j == HURTRAIL ? 0 : j == FLOORSLIME ? 1 : j == FLOORPLASMA ? 2 : -1;
|
||||
if (j >= 0) k = makepainsounds(snum, whichsound);
|
||||
}
|
||||
|
||||
|
|
|
@ -3710,8 +3710,8 @@ void processinput_r(int snum)
|
|||
|
||||
if (p->on_ground && truefdist <= PHEIGHT + (16 << 8))
|
||||
{
|
||||
int whichsound = j == HURTRAIL ? 0 : j == FLOORSLIME ? 1 : j == FLOORPLASMA ? 3 :
|
||||
(isRRRA() && (j == RRTILE7768 || j == RRTILE7820) ? 4 : -1);
|
||||
int whichsound = j == HURTRAIL ? 0 : j == FLOORSLIME ? 1 : j == FLOORPLASMA ? 2 :
|
||||
(isRRRA() && (j == RRTILE7768 || j == RRTILE7820) ? 3 : -1);
|
||||
if (j >= 0) k = makepainsounds(snum, whichsound);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue