| 65 | }; |
| 66 | |
| 67 | static bool IsLizardTargetBlocked(ItemInfo& item) |
| 68 | { |
| 69 | auto& creature = *GetCreatureInfo(&item); |
| 70 | |
| 71 | return (creature.Enemy && creature.Enemy->BoxNumber != NO_VALUE && |
| 72 | (g_Level.PathfindingBoxes[creature.Enemy->BoxNumber].flags & BLOCKABLE)); |
| 73 | } |
| 74 | |
| 75 | static void SpawnLizardGas(const ItemInfo& item, const CreatureBiteInfo& bite, float vel) |
| 76 | { |
no test coverage detected