summaryrefslogtreecommitdiff
path: root/src/elements/pcln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pcln.c')
-rw-r--r--src/elements/pcln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/pcln.c b/src/elements/pcln.c
index 1ffcbb4..74412e0 100644
--- a/src/elements/pcln.c
+++ b/src/elements/pcln.c
@@ -91,7 +91,7 @@ int update_PCLN(UPDATE_FUNC_ARGS) {
}
}
}
- else
+ else if (parts[i].ctype!=PT_LIGH || (rand()%30)==0)
{
int np = create_part(-1, x+rand()%3-1, y+rand()%3-1, parts[i].ctype);
if (np>=0)