summaryrefslogtreecommitdiff
path: root/src/elements/prto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/prto.c')
-rw-r--r--src/elements/prto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/prto.c b/src/elements/prto.c
index 8f743e7..5bf6efe 100644
--- a/src/elements/prto.c
+++ b/src/elements/prto.c
@@ -21,8 +21,8 @@ int update_PRTO(UPDATE_FUNC_ARGS) {
int randomness = count + rand()%3-1;
if (randomness<1)
randomness=1;
- if (randomness>8)
- randomness=8;
+ if (randomness>9)
+ randomness=9;
if (portal[parts[i].tmp][randomness-1][nnx]==PT_SPRK)// TODO: make it look better
{
create_part(-1,x+1,y,portal[parts[i].tmp][randomness-1][nnx]);