summaryrefslogtreecommitdiff
path: root/src/simulation/elements/EXOT.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-04-27 10:38:20 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-04-27 10:38:20 (GMT)
commit828569415f678d03087883876e0c18efc0068ac5 (patch)
tree9b0b4d29b0c9f530ba833e866625b68f6e179f48 /src/simulation/elements/EXOT.cpp
parent99d790b177784a9cde9338a2f960061d7b62f9c6 (diff)
downloadpowder-828569415f678d03087883876e0c18efc0068ac5.zip
powder-828569415f678d03087883876e0c18efc0068ac5.tar.gz
BREAKING NEWS: Hell has frozen over
New element, GOLD, a corrosion resistant metal that can conduct electricity faster, molten GOLD will turn into molten VIBR on contact with EXOT
Diffstat (limited to 'src/simulation/elements/EXOT.cpp')
-rw-r--r--src/simulation/elements/EXOT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/EXOT.cpp b/src/simulation/elements/EXOT.cpp
index 52bf462..8f8d874 100644
--- a/src/simulation/elements/EXOT.cpp
+++ b/src/simulation/elements/EXOT.cpp
@@ -70,7 +70,7 @@ int Element_EXOT::update(UPDATE_FUNC_ARGS) {
}
else if (rt == PT_LAVA)
{
- if (parts[r>>8].ctype == PT_TTAN && !(rand()%10))
+ if ((parts[r>>8].ctype == PT_TTAN || parts[r>>8].ctype == PT_GOLD) && !(rand()%10))
{
parts[r>>8].ctype = PT_VIBR;
sim->kill_part(i);