浏览代码

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 年之前
父节点
当前提交
0baa410619
共有 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:
    enum MaskBits {
       DeployedMask   = Parent::NextFreeMask,
-      ExplosionMask  = Parent::NextFreeMask << 1,
-      NextFreeMask   = Parent::NextFreeMask << 2
+      ExplosionMask  = Parent::NextFreeMask << 1
    };
 
    enum State