Curation round 13: grid entities, more enemies, Caves, boss helpers and five bosses, chests and costumes, curses and alt stages, the Lua API
This commit is contained in:
1 parent
f8ce24fc6c
commit
8ae02a8422
160 files changed
+16231
-1689
No files matched your search
+2
-3
@@ -10,7 +10,6 @@
|
||||
|
||||
// The fly kin this AI runs: the fly, Pooter, attack fly, the Sucker's family, Moter, the level 2 fly, the full fly and
|
||||
// the fly bomb.
|
||||
constexpr int ENTITY_MOTER = 80;
|
||||
constexpr int ENTITY_FLY_L2 = 214;
|
||||
constexpr int ENTITY_FULL_FLY = 249;
|
||||
constexpr int SPAWNER_UNBOUNDED = 67;
|
||||
@@ -534,8 +533,8 @@ static void fly_drift_update(Entity_NPC& npc)
|
||||
void npc_fly_update(Entity_NPC& npc)
|
||||
{
|
||||
if (npc.type == ENTITY_SUCKER && (npc.variant == SUCKER_BULB || npc.variant == SUCKER_BULB_BLACK))
|
||||
return NpcAI::ENTITY_BULB(&npc);
|
||||
if (npc.type == ENTITY_SUCKER && npc.variant == SUCKER_MAMA_FLY) return (void)NpcAI::ENTITY_MAMA_FLY(&npc);
|
||||
return npc_bulb_update(npc);
|
||||
if (npc.type == ENTITY_SUCKER && npc.variant == SUCKER_MAMA_FLY) return npc_mama_fly_update(npc);
|
||||
if (npc.state == NPC_STATE_INIT) fly_init(npc);
|
||||
|
||||
PlayerManager& players = g_game->playerManager;
|
||||
|
||||
Reference in new issue
Block a user