Remove 2x radius multiplier for blockmap iterator on explosions. Dunno why I thought I'd need it.
This commit is contained in:
parent
b5f78f5035
commit
302e4e51bc
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r452 \cu(Sat 24 Apr 16:00:14 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r452 \cu(2021-04-24 16:00:14)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r454 \cu(Sat 24 Apr 16:13:37 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r454 \cu(2021-04-24 16:13:37)\c-";
|
||||
|
|
|
|||
|
|
@ -1037,7 +1037,7 @@ Class SWWMUtility
|
|||
if ( !(flags&DE_NOSPLASH) ) Source.CheckSplash(ExplosionRadius);
|
||||
double brange = 1./(ExplosionRadius-FullDamageRadius);
|
||||
Actor Instigator = (flags&DE_NOTMISSILE)?Source:Source.target;
|
||||
BlockThingsIterator bi = BlockThingsIterator.Create(Source,ExplosionRadius*2); // test with doubled radius, just to be sure
|
||||
BlockThingsIterator bi = BlockThingsIterator.Create(Source,ExplosionRadius);
|
||||
int nhit = 0, nkill = 0;
|
||||
while ( bi.Next() )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue