ソースを参照

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 年 前
コミット
86947228d5
1 ファイル変更1 行追加2 行削除
  1. 1 2
      Engine/source/T3D/proximityMine.h

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

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