We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9565a6 commit 153ac21Copy full SHA for 153ac21
Source/System/PathFinder.cpp
@@ -439,9 +439,7 @@ bool PathFinder::NodeIsOnSolidGround(const PathNode& node) const {
439
440
float PathFinder::GetMaterialTransitionCost(const Material& material) const {
441
float strength = material.GetIntegrity();
442
-
443
- // Always treat doors as diggable.
444
- if (strength > s_DigStrength && material.GetIndex() != MaterialColorKeys::g_MaterialDoor) {
+ if (strength > s_DigStrength) {
445
strength *= 1000.0F;
446
}
447
0 commit comments