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
|
|
@ -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