(SubgameEntity self, GameExportsImpl gameExports)
| 37 | |
| 38 | public class GameMisc { |
| 39 | static void SP_path_corner(SubgameEntity self, GameExportsImpl gameExports) { |
| 40 | if (self.targetname == null) { |
| 41 | gameExports.gameImports.dprintf("path_corner with no targetname at " |
| 42 | + Lib.vtos(self.s.origin) + "\n"); |
| 43 | gameExports.freeEntity(self); |
| 44 | return; |
| 45 | } |
| 46 | |
| 47 | self.solid = Defines.SOLID_TRIGGER; |
| 48 | self.touch = path_corner_touch; |
| 49 | Math3D.VectorSet(self.mins, -8, -8, -8); |
| 50 | Math3D.VectorSet(self.maxs, 8, 8, 8); |
| 51 | self.svflags |= Defines.SVF_NOCLIENT; |
| 52 | gameExports.gameImports.linkentity(self); |
| 53 | } |
| 54 | |
| 55 | static void SP_point_combat(SubgameEntity self, GameExportsImpl gameExports) { |
| 56 | if (gameExports.gameCvars.deathmatch.value != 0) { |
no test coverage detected