diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-05 00:34:47 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-05 00:34:47 (GMT) |
| commit | 2d0ce60afe568fb129872abf674aec12cb520907 (patch) | |
| tree | 6b62d045c109311645bba83598fc4341918adbd0 /src/simulation/elements/DMG.cpp | |
| parent | cb5ca55fc2c7160688bb1ded49dfec2db829fe37 (diff) | |
| download | powder-2d0ce60afe568fb129872abf674aec12cb520907.zip powder-2d0ce60afe568fb129872abf674aec12cb520907.tar.gz | |
fix not being able to draw TUGN under high/low pressure
Diffstat (limited to 'src/simulation/elements/DMG.cpp')
| -rw-r--r-- | src/simulation/elements/DMG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simulation/elements/DMG.cpp b/src/simulation/elements/DMG.cpp index a796701..4f1daaf 100644 --- a/src/simulation/elements/DMG.cpp +++ b/src/simulation/elements/DMG.cpp @@ -92,6 +92,8 @@ int Element_DMG::update(UPDATE_FUNC_ARGS) sim->part_change_type(rr>>8, x+nxi, y+nxj, PT_BCOL); else if(t == PT_QRTZ) sim->part_change_type(rr>>8, x+nxi, y+nxj, PT_PQRT); + else if(t == PT_TUGN) + sim->part_change_type(rr>>8, x+nxi, y+nxj, PT_BRMT); } } } |
