2025-06-14 04:59 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003153Spring engineGeneralpublic2012-07-06 21:44
ReporterDeadnight Warrior 
Assigned ToKloot 
PrioritylowSeveritytrivialReproducibilityalways
StatusresolvedResolutionfixed 
Product Version89.0 
Target VersionFixed in Version89.0 
Summary0003153: SoundHitWet isn't played when a projectile impacts water surface but SoundHitDry instead
DescriptionInstead of playing SoundHitWet when a cannon shell hits water surface SoundHitDry is played instead. For TorpedoLauncher the SoundHitWet is always played as hit sound (which is kinda logical as torpedos always explode underwater)
Additional InformationCould be related to https://github.com/spring/spring/blob/release/rts/Game/GameHelper.cpp#L331
The condition is true only for underwater explosions and not those on water surface as well.

Replacing to const int soundNum = (expPos.y < 0.1f); might do the trick
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2012-07-06 18:15 Deadnight Warrior New Issue
2012-07-06 21:44 Kloot Status new => resolved
2012-07-06 21:44 Kloot Fixed in Version => 89.0
2012-07-06 21:44 Kloot Resolution open => fixed
2012-07-06 21:44 Kloot Assigned To => Kloot
+Issue History