[Scummvm-git-logs] scummvm master -> 006c5ee344299b6c5078ac3dfee6434a913918db
sev-
noreply at scummvm.org
Sat Oct 4 23:30:33 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
006c5ee344 WAGE: Do not complain about empty sounds
Commit: 006c5ee344299b6c5078ac3dfee6434a913918db
https://github.com/scummvm/scummvm/commit/006c5ee344299b6c5078ac3dfee6434a913918db
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-10-05T01:30:09+02:00
Commit Message:
WAGE: Do not complain about empty sounds
Changed paths:
engines/wage/sound.cpp
diff --git a/engines/wage/sound.cpp b/engines/wage/sound.cpp
index 8397372f500..6115e2381f6 100644
--- a/engines/wage/sound.cpp
+++ b/engines/wage/sound.cpp
@@ -87,7 +87,9 @@ void WageEngine::playSound(Common::String soundName, bool blocking) {
soundName.toLowercase();
if (!_world->_sounds.contains(soundName)) {
- warning("playSound: Sound '%s' does not exist", soundName.c_str());
+ if (!soundName.empty())
+ warning("playSound: Sound '%s' does not exist", soundName.c_str());
+
return;
}
More information about the Scummvm-git-logs
mailing list