Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit a73a381

Browse files
committed
Fix
1 parent c9aa138 commit a73a381

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Entities/AtomGroup.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,9 @@ namespace RTE {
11201120

11211121
// All Atoms must have penetrated and therefore the entire group has sunken into the terrain. Get the penetration resistance results and apply them to the owner.
11221122
else if (!penetratingAtoms.empty()) {
1123-
//bool sinkHit = hit[dom] = hit[sub] = true;
1123+
//bool sinkHit = true;
1124+
hit[dom] = true;
1125+
hit[sub] = true;
11241126

11251127
// Call the call-on-sink function, if requested.
11261128
//if (m_OwnerMO && callOnSink) { halted = m_OwnerMO->OnSink(position); }

0 commit comments

Comments
 (0)