Browse Source

nextfreemask does nothing for proximity mines as there are no subclasses on this chain, but does bump it's enum value over the limit with the new addition to sceneobject. so killed it.

Azaezel 6 năm trước cách đây
mục cha
commit
86947228d5
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      Engine/source/T3D/proximityMine.h

+ 1 - 2
Engine/source/T3D/proximityMine.h

@@ -72,8 +72,7 @@ class ProximityMine: public Item
 protected:
    enum MaskBits {
       DeployedMask   = Parent::NextFreeMask,
-      ExplosionMask  = Parent::NextFreeMask << 1,
-      NextFreeMask   = Parent::NextFreeMask << 2
+      ExplosionMask  = Parent::NextFreeMask << 1
    };
 
    enum State