summaryrefslogtreecommitdiff
path: root/src/elements/pvod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pvod.cpp')
-rw-r--r--src/elements/pvod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/pvod.cpp b/src/elements/pvod.cpp
index 1a48ca8..c65643e 100644
--- a/src/elements/pvod.cpp
+++ b/src/elements/pvod.cpp
@@ -11,7 +11,7 @@ int update_PVOD(UPDATE_FUNC_ARGS) {
r = pmap[y+ry][x+rx];
if (!r)
continue;
- if ((r&0xFF)==PT_SPRK)
+ if ((r&0xFF)==PT_SPRK && parts[r>>8].life<4)
{
if (parts[r>>8].ctype==PT_PSCN)
parts[i].life = 10;