diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 16:11:36 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 16:11:36 (GMT) |
| commit | 0afecb5b77442d770f5ebb149f574d87859ebde7 (patch) | |
| tree | eb7680b00904bae0fe2382245cb2197da5cb7ab5 /src/simulation/elements/BANG.cpp | |
| parent | 57c356e495f30c01a08bbd5d00b923f51badac9d (diff) | |
| download | powder-0afecb5b77442d770f5ebb149f574d87859ebde7.zip powder-0afecb5b77442d770f5ebb149f574d87859ebde7.tar.gz | |
TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942
Diffstat (limited to 'src/simulation/elements/BANG.cpp')
| -rw-r--r-- | src/simulation/elements/BANG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/BANG.cpp b/src/simulation/elements/BANG.cpp index d2441ca..2dc660a 100644 --- a/src/simulation/elements/BANG.cpp +++ b/src/simulation/elements/BANG.cpp @@ -106,8 +106,8 @@ int Element_BANG::update(UPDATE_FUNC_ARGS) { if(!(rand()%15)) { - sim->create_part(i, x, y, PT_BOMB); - parts[i].tmp = 1; + sim->create_part(i, x, y, PT_EMBR); + parts[i].tmp = 0; parts[i].life = 50; parts[i].temp = restrict_flt((MAX_TEMP/3)+otemp, MIN_TEMP, MAX_TEMP); parts[i].vx = rand()%20-10; |
