mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-09 16:50:42 +00:00
Don't emit sounds when selecting dead animals. Patch by Stan. Fixes #3486.
This was SVN commit r17399.
This commit is contained in:
1 parent
9e39d6b46c
commit
8af675e207
1 file changed
+2
-1
@@ -548,7 +548,8 @@ void CTemplateLoader::CopyResourceSubset(CParamNode& out, const CParamNode& in)
|
||||
permittedComponentTypes.insert("Footprint");
|
||||
permittedComponentTypes.insert("StatusBars");
|
||||
permittedComponentTypes.insert("OverlayRenderer");
|
||||
permittedComponentTypes.insert("Sound");
|
||||
// Corpses shouldn't emit sounds.
|
||||
// permittedComponentTypes.insert("Sound");
|
||||
permittedComponentTypes.insert("AIProxy");
|
||||
|
||||
CParamNode::LoadXMLString(out, "<Entity/>");
|
||||
|
||||
Reference in new issue
Block a user