diff options
Diffstat (limited to 'src/elements')
| -rw-r--r-- | src/elements/exot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/elements/exot.c b/src/elements/exot.c index aeb77ce..adcdeec 100644 --- a/src/elements/exot.c +++ b/src/elements/exot.c @@ -33,8 +33,9 @@ int update_EXOT(UPDATE_FUNC_ARGS) { } } if (parts[i].tmp>245) - if ((r&0xFF)!=PT_EXOT && (r&0xFF)!=PT_BREL && (r&0xFF)!=PT_DMND && (r&0xFF)!=PT_CLNE && (r&0xFF)!=PT_PRTI && (r&0xFF)!=PT_PRTO && (r&0xFF)!=PT_PCLN && (r&0xFF)!=PT_PHOT && (r&0xFF)!=PT_VOID && (r&0xFF)!=PT_NBHL && (r&0xFF)!=PT_WARP) - create_part(i, x, y, parts[r>>8].type); + if (1>rand()%1000) + if ((r&0xFF)!=PT_EXOT && (r&0xFF)!=PT_BREL && (r&0xFF)!=PT_DMND && (r&0xFF)!=PT_CLNE && (r&0xFF)!=PT_PRTI && (r&0xFF)!=PT_PRTO && (r&0xFF)!=PT_PCLN && (r&0xFF)!=PT_PHOT && (r&0xFF)!=PT_VOID && (r&0xFF)!=PT_NBHL && (r&0xFF)!=PT_WARP) + create_part(i, x, y, parts[r>>8].type); } parts[i].tmp--; parts[i].tmp2--; |
