Delete sheep corpses when starting to build a foundation,
commit833a87c21437badb475f0419078eb81016083802
authorelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Wed, 21 Mar 2018 01:44:15 +0000 (21 01:44 +0000)
committerelexis <elexis@3db68df2-c116-0410-a063-a993310a9797>
Wed, 21 Mar 2018 01:44:15 +0000 (21 01:44 +0000)
tree8475db5ead9bd7ace8c66c02a93b8cea455f3c97
parent23c1e9486cffbddf2e65ae9016fdc29012a8c868
Delete sheep corpses when starting to build a foundation,

so that units don't try to gather forever while not being able to reach it and
so that the sheep corpse can't be selected and seen anymore.

Differential Revision: https://code.wildfiregames.com/D21
Fixes #4268
Based On Patch By: wraitii
Reviewed By: temple
Previously Reviewed By: Itms

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@21597 3db68df2-c116-0410-a063-a993310a9797
binaries/data/mods/public/simulation/components/Foundation.js
binaries/data/mods/public/simulation/components/tests/test_Foundation.js
binaries/data/mods/public/simulation/helpers/Transform.js
source/simulation2/components/CCmpObstruction.cpp
source/simulation2/components/CCmpObstructionManager.cpp
source/simulation2/components/ICmpObstruction.cpp
source/simulation2/components/ICmpObstruction.h
source/simulation2/components/ICmpObstructionManager.h