Skip to content

Commit b5e778e

Browse files
committed
Relaxed restrictions on what elements can pass through PAPR
1 parent 347416c commit b5e778e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/simulation/SimulationData.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ void SimulationData::init_can_move()
183183
if (elements[movingType].Properties & TYPE_PART)
184184
can_move[movingType][PT_SAWD] = 0;
185185

186-
// Let most non-solids pass through unmarked PAPR
187-
if (elements[movingType].Properties & (TYPE_GAS | TYPE_PART | TYPE_LIQUID) && (movingType != PT_FIRE && movingType != PT_SAWD))
186+
// Let most elements pass through unmarked PAPR
187+
if (movingType != PT_FIRE && movingType != PT_SAWD)
188188
can_move[movingType][PT_PAPR] = 3;
189189
}
190190

0 commit comments

Comments
 (0)