Skip to content

Commit

Permalink
BEM: Minor codestyle change
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Aug 10, 2024
1 parent 8214bd4 commit 7c65eed
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/game/AI/ScriptDevAI/scripts/outland/blades_edge_mountains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1779,16 +1779,6 @@ struct npc_frequency_scanner : public ScriptedAI
}
};

UnitAI* GetAI_npc_frequency_scanner(Creature* creature)
{
return new npc_frequency_scanner(creature);
}

GameObjectAI* GetGOAI_go_aura_generator_000(GameObject* go)
{
return new go_aura_generator_000AI(go);
}

/*######
## npc_fel_cannon
######*/
Expand Down Expand Up @@ -3403,12 +3393,12 @@ void AddSC_blades_edge_mountains()

pNewScript = new Script;
pNewScript->Name = "npc_frequency_scanner";
pNewScript->GetAI = &GetAI_npc_frequency_scanner;
pNewScript->GetAI = &GetNewAIInstance<npc_frequency_scanner>;
pNewScript->RegisterSelf();

pNewScript = new Script;
pNewScript->Name = "go_aura_generator_000";
pNewScript->GetGameObjectAI = &GetGOAI_go_aura_generator_000;
pNewScript->GetGameObjectAI = &GetNewAIInstance<go_aura_generator_000AI>;
pNewScript->RegisterSelf();

pNewScript = new Script;
Expand Down

0 comments on commit 7c65eed

Please sign in to comment.