mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 03:41:16 +00:00
Fixed custom status sounds not getting read
This commit is contained in:
parent
212ef61fff
commit
d89ab75b63
@ -324,9 +324,9 @@ namespace game_config
|
||||
|
||||
if(const config & ss = s.child("status")) {
|
||||
using namespace game_config::sounds::status;
|
||||
if (ss.has_attribute("poisoned")) poisoned = s["poisoned"].str();
|
||||
if (ss.has_attribute("slowed")) slowed = s["slowed"].str();
|
||||
if (ss.has_attribute("petrified")) petrified = s["petrified"].str();
|
||||
if (ss.has_attribute("poisoned")) poisoned = ss["poisoned"].str();
|
||||
if (ss.has_attribute("slowed")) slowed = ss["slowed"].str();
|
||||
if (ss.has_attribute("petrified")) petrified = ss["petrified"].str();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user