Add Stone Shoe sounds

This commit is contained in:
James R 2025-06-11 13:42:09 -07:00
parent 6d80b741ae
commit 5f572c8e9a
2 changed files with 7 additions and 1 deletions

View file

@ -13340,7 +13340,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
S_ITEMICON, // spawnstate
1, // spawnhealth
S_NULL, // seestate
sfx_None, // seesound
sfx_tossed, // seesound
0, // reactiontime
sfx_None, // attacksound
S_NULL, // painstate

View file

@ -129,6 +129,8 @@ struct Shoe : Mobj
shoe->chain(link);
shoe->chainLength(numLinks);
shoe->voice(sfx_s3k5d);
return shoe;
}
@ -230,6 +232,7 @@ private:
{
momz = 32 * mapobjectscale;
bouncing(true);
voice(sfx_s3k5f);
}
}
@ -240,6 +243,9 @@ private:
if (speed > maxSpeed)
instathrust(a, maxSpeed);
if (P_IsObjectOnGround(this) && leveltime % 5 == 0)
voice(sfx_s3k6f);
}
else
{