summaryrefslogtreecommitdiff
path: root/src/simulation/elements/FUSE.cpp
diff options
context:
space:
mode:
authorcracker64 <cracker642@gmail.com>2013-03-01 05:41:53 (GMT)
committer cracker64 <cracker642@gmail.com>2013-03-01 05:41:53 (GMT)
commit0d70547cf059b5bd0a7a4a0acd9251fb94c6115e (patch)
tree99a0b212eeecee83662d963da052b439375acbf3 /src/simulation/elements/FUSE.cpp
parent5873d6958641af21b92fcb039d26c336331f19e7 (diff)
downloadpowder-0d70547cf059b5bd0a7a4a0acd9251fb94c6115e.zip
powder-0d70547cf059b5bd0a7a4a0acd9251fb94c6115e.tar.gz
More fixes to fix fixes and new fixes to fix stuff.
Diffstat (limited to 'src/simulation/elements/FUSE.cpp')
-rw-r--r--src/simulation/elements/FUSE.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simulation/elements/FUSE.cpp b/src/simulation/elements/FUSE.cpp
index 5e9c95d..71f551f 100644
--- a/src/simulation/elements/FUSE.cpp
+++ b/src/simulation/elements/FUSE.cpp
@@ -55,7 +55,8 @@ int Element_FUSE::update(UPDATE_FUNC_ARGS)
if (r>-1)
parts[r].life = 50;
return 1;
- } else if (parts[i].life < 40) {
+ }
+ else if (parts[i].life < 40) {
parts[i].life--;
if (!(rand()%100)) {
r = sim->create_part(-1, x+rand()%3-1, y+rand()%3-1, PT_PLSM);