diff options
| author | cracker64 <cracker642@gmail.com> | 2013-02-28 17:37:16 (GMT) |
|---|---|---|
| committer | cracker64 <cracker642@gmail.com> | 2013-02-28 17:37:16 (GMT) |
| commit | 5873d6958641af21b92fcb039d26c336331f19e7 (patch) | |
| tree | a334e74d7cf79726f5c0a411515bed801ee0333f /src/simulation/elements/BRMT.cpp | |
| parent | c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2 (diff) | |
| download | powder-5873d6958641af21b92fcb039d26c336331f19e7.zip powder-5873d6958641af21b92fcb039d26c336331f19e7.tar.gz | |
Going through again.
Diffstat (limited to 'src/simulation/elements/BRMT.cpp')
| -rw-r--r-- | src/simulation/elements/BRMT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/BRMT.cpp b/src/simulation/elements/BRMT.cpp index 0e36630..5ac2315 100644 --- a/src/simulation/elements/BRMT.cpp +++ b/src/simulation/elements/BRMT.cpp @@ -62,7 +62,7 @@ int Element_BRMT::update(UPDATE_FUNC_ARGS) r = pmap[y+ry][x+rx]; if (!r) continue; - if ((r&0xFF)==PT_BREC && 1>(rand()%tempFactor)) + if ((r&0xFF)==PT_BREC && !(rand()%tempFactor)) { if(rand()%2) { |
