summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-10-10 22:55:42 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-10-10 22:55:42 (GMT)
commita87407f0dfda733441d74c2edb25852ec7b3ef4c (patch)
tree1c2cf42fabe30b1c62b9471cf112a330c7672544 /src/elements
parentbf8258ee306a9649e0cfbf5344f8a533907175d8 (diff)
downloadpowder-a87407f0dfda733441d74c2edb25852ec7b3ef4c.zip
powder-a87407f0dfda733441d74c2edb25852ec7b3ef4c.tar.gz
More functionality for LIGH, better english on element descriptions
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/ligh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elements/ligh.c b/src/elements/ligh.c
index 7ce780a..8f9c80e 100644
--- a/src/elements/ligh.c
+++ b/src/elements/ligh.c
@@ -140,6 +140,7 @@ int update_LIGH(UPDATE_FUNC_ARGS)
if (parts[i].tmp2==-1)
{
kill_part(i);
+ update_PYRO(UPDATE_FUNC_SUBCALL_ARGS);
return 0;
}
if (parts[i].tmp2<=0 || parts[i].life<=1)