diff options
| author | jacob1 <jfu614@gmail.com> | 2012-11-04 21:31:13 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-11-04 21:35:35 (GMT) |
| commit | ca42162e5efd5a81870878be605cf8a803ac1afb (patch) | |
| tree | 40de0fe996d17f59c909a9d699d62986d54f1567 /src/simulation | |
| parent | 828623f9ec4c704fd0507f96fec1638f72ca90c5 (diff) | |
| download | powder-ca42162e5efd5a81870878be605cf8a803ac1afb.zip powder-ca42162e5efd5a81870878be605cf8a803ac1afb.tar.gz | |
fix heat release during explosion
Diffstat (limited to 'src/simulation')
| -rw-r--r-- | src/simulation/elements/VIBR.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/VIBR.cpp b/src/simulation/elements/VIBR.cpp index e6ee082..35ba930 100644 --- a/src/simulation/elements/VIBR.cpp +++ b/src/simulation/elements/VIBR.cpp @@ -144,8 +144,8 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) { r = pmap[y+ry][x+rx]; if ((r&0xFF) && (r&0xFF) != parts[i].type) { - parts[r>>8].temp += parts[i].tmp*6; - parts[i].tmp -= parts[i].tmp*2; + parts[r>>8].temp += parts[i].tmp*3; + parts[i].tmp = 0; } } } |
