Ticket #1366: retain_corpse_in_fow.patch
File retain_corpse_in_fow.patch, 800 bytes (added by , 10 years ago) |
---|
-
source/simulation2/components/CCmpTemplateManager.cpp
544 544 // Corpses shouldn't display silhouettes (especially since they're often half underground) 545 545 if (out.GetChild("Entity").GetChild("VisualActor").IsOk()) 546 546 CParamNode::LoadXMLString(out, "<Entity><VisualActor><SilhouetteDisplay>false</SilhouetteDisplay></VisualActor></Entity>"); 547 548 // Corpses should remain after units' death 549 CParamNode::LoadXMLString(out, "<Entity><Vision><Range>0</Range><RetainInFog>true</RetainInFog><AlwaysVisible>false</AlwaysVisible></Vision></Entity>"); 547 550 } 548 551 } 549 552