diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-20 20:45:33 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-20 21:15:45 (GMT) |
| commit | 1d5b08194291db72c05e68eed592e8fcb6101c63 (patch) | |
| tree | 39945df4b183ef2bbcaf0cc1432a3a02b547f5f6 /src/elements/ignt.c | |
| parent | 9b2c2a78a6f4ba4fb13f04f17a649caeaf416d8d (diff) | |
| download | powder-1d5b08194291db72c05e68eed592e8fcb6101c63.zip powder-1d5b08194291db72c05e68eed592e8fcb6101c63.tar.gz | |
Replace all explosion sparks with new element (EMBR)
Replaces: BOMB sparks and flash, electrons + glass sparks, sparks from
IGNC, sparks from TNT explosion, and sparks from FWRK and FIRW.
Diffstat (limited to 'src/elements/ignt.c')
| -rw-r--r-- | src/elements/ignt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/ignt.c b/src/elements/ignt.c index 36f48a3..bf706bc 100644 --- a/src/elements/ignt.c +++ b/src/elements/ignt.c @@ -40,9 +40,9 @@ int update_IGNT(UPDATE_FUNC_ARGS) { { if(rand()%3) { - int nb = create_part(-1, x+rand()%3-1, y+rand()%3-1, PT_BOMB); + int nb = create_part(-1, x+rand()%3-1, y+rand()%3-1, PT_EMBR); if (nb!=-1) { - parts[nb].tmp = 1; + parts[nb].tmp = 0; parts[nb].life = 30; parts[nb].vx = rand()%20-10; parts[nb].vy = rand()%20-10; |
