MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / PlayPlayerInvulnerabilitySound

Function PlayPlayerInvulnerabilitySound

Descent3/damage.cpp:753–755  ·  view source on GitHub ↗

Plays the sound for a player being damaged

Source from the content-addressed store, hash-verified

751
752// Plays the sound for a player being damaged
753void PlayPlayerInvulnerabilitySound(object *playerobj) {
754 Sound_system.Play3dSound(SOUND_METALLIC_DOOR_HIT, SND_PRIORITY_HIGHEST, playerobj);
755}
756
757// Kills the player
758// weapon_id can be -1 for no weapon

Callers 1

ApplyDamageToPlayerFunction · 0.85

Calls 1

Play3dSoundMethod · 0.80

Tested by

no test coverage detected