diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-16 00:46:57 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-16 00:46:57 -0700 |
| commit | 24886c2752548f1c32ed54968a7bfdf2b1fe38ea (patch) | |
| tree | e6ba72311d9c5b39793d3fd1944a4ee4851fd94c /src/sim/materials/water.rs | |
| parent | d7eccba2055cd7784a0db6d9ee8692a4f3510931 (diff) | |
fire changes + smoke
Diffstat (limited to 'src/sim/materials/water.rs')
| -rw-r--r-- | src/sim/materials/water.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/sim/materials/water.rs b/src/sim/materials/water.rs index d76ec5b..1ba8eb4 100644 --- a/src/sim/materials/water.rs +++ b/src/sim/materials/water.rs @@ -62,15 +62,15 @@ pub fn sim_update(ctx: &mut UpdateCtx) { // we didn't find a hole, so just move "randomly" on the same surface // TODO when to settle? - let target_x = if !can_move_left { - 1 - } else if !can_move_right { - -1 - } else if ctx.seqno_parity % 2 == 1 { - 1 - } else { - -1 - }; + // let target_x = if !can_move_left { + // 1 + // } else if !can_move_right { + // -1 + // } else if ctx.seqno_parity % 2 == 1 { + // 1 + // } else { + // -1 + // }; - ctx.candidates_swap(&[(target_x, 0)]); + // ctx.candidates_swap(&[(target_x, 0)]); } |
