Sfoglia il codice sorgente

Looks like according to reports, they also weren't checking for physicsshapes.

Azaezel 10 anni fa
parent
commit
348a0f20d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Templates/Full/game/scripts/server/radiusDamage.cs

+ 1 - 1
Templates/Full/game/scripts/server/radiusDamage.cs

@@ -29,7 +29,7 @@ function radiusDamage(%sourceObject, %position, %radius, %damage, %damageType, %
    // Use the container system to iterate through all the objects
    // within our explosion radius.  We'll apply damage to all ShapeBase
    // objects.
-   InitContainerRadiusSearch(%position, %radius, $TypeMasks::ShapeBaseObjectType);
+   InitContainerRadiusSearch(%position, %radius, $TypeMasks::ShapeBaseObjectType | $TypeMasks::DynamicShapeObjectType);
 
    %halfRadius = %radius / 2;
    while ((%targetObject = containerSearchNext()) != 0)