Method
target_laser_on
(SubgameEntity self, GameExportsImpl gameExports)
Source from the content-addressed store, hash-verified
| 36 | class GameTarget { |
| 37 | |
| 38 | private static void target_laser_on(SubgameEntity self, GameExportsImpl gameExports) { |
| 39 | if (null == self.activator) |
| 40 | self.activator = self; |
| 41 | self.spawnflags |= 0x80000001; |
| 42 | self.svflags &= ~Defines.SVF_NOCLIENT; |
| 43 | target_laser_think.think(self, gameExports); |
| 44 | } |
| 45 | |
| 46 | private static void target_laser_off(SubgameEntity self) { |
| 47 | self.spawnflags &= ~1; |
Tested by
no test coverage detected