Properly use reference operator in scripting library. Original patch by Aokromes.

--HG--
branch : trunk
This commit is contained in:
w12x
2008-12-22 23:11:25 +01:00
parent a007964d93
commit 67b94421e6
281 changed files with 527 additions and 527 deletions
+20 -20
View File
@@ -3935,75 +3935,75 @@ void AddSC_guards()
newscript->Name="guard_azuremyst";
newscript->pGossipHello = &GossipHello_guard_azuremyst;
newscript->pGossipSelect = &GossipSelect_guard_azuremyst;
newscript->GetAI = GetAI_guard_azuremyst;
newscript->GetAI = &GetAI_guard_azuremyst;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_bluffwatcher";
newscript->pGossipHello = &GossipHello_guard_bluffwatcher;
newscript->pGossipSelect = &GossipSelect_guard_bluffwatcher;
newscript->GetAI = GetAI_guard_bluffwatcher;
newscript->GetAI = &GetAI_guard_bluffwatcher;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_contested";
newscript->GetAI = GetAI_guard_contested;
newscript->GetAI = &GetAI_guard_contested;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_darnassus";
newscript->pGossipHello = &GossipHello_guard_darnassus;
newscript->pGossipSelect = &GossipSelect_guard_darnassus;
newscript->GetAI = GetAI_guard_darnassus;
newscript->GetAI = &GetAI_guard_darnassus;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_dunmorogh";
newscript->pGossipHello = &GossipHello_guard_dunmorogh;
newscript->pGossipSelect = &GossipSelect_guard_dunmorogh;
newscript->GetAI = GetAI_guard_dunmorogh;
newscript->GetAI = &GetAI_guard_dunmorogh;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_durotar";
newscript->pGossipHello = &GossipHello_guard_durotar;
newscript->pGossipSelect = &GossipSelect_guard_durotar;
newscript->GetAI = GetAI_guard_durotar;
newscript->GetAI = &GetAI_guard_durotar;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_elwynnforest";
newscript->pGossipHello = &GossipHello_guard_elwynnforest;
newscript->pGossipSelect = &GossipSelect_guard_elwynnforest;
newscript->GetAI = GetAI_guard_elwynnforest;
newscript->GetAI = &GetAI_guard_elwynnforest;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_eversong";
newscript->pGossipHello = &GossipHello_guard_eversong;
newscript->pGossipSelect = &GossipSelect_guard_eversong;
newscript->GetAI = GetAI_guard_eversong;
newscript->GetAI = &GetAI_guard_eversong;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_exodar";
newscript->pGossipHello = &GossipHello_guard_exodar;
newscript->pGossipSelect = &GossipSelect_guard_exodar;
newscript->GetAI = GetAI_guard_exodar;
newscript->GetAI = &GetAI_guard_exodar;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_ironforge";
newscript->pGossipHello = &GossipHello_guard_ironforge;
newscript->pGossipSelect = &GossipSelect_guard_ironforge;
newscript->GetAI = GetAI_guard_ironforge;
newscript->GetAI = &GetAI_guard_ironforge;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_mulgore";
newscript->pGossipHello = &GossipHello_guard_mulgore;
newscript->pGossipSelect = &GossipSelect_guard_mulgore;
newscript->GetAI = GetAI_guard_mulgore;
newscript->GetAI = &GetAI_guard_mulgore;
newscript->RegisterSelf();
newscript = new Script;
@@ -4011,26 +4011,26 @@ void AddSC_guards()
newscript->pGossipHello = &GossipHello_guard_orgrimmar;
newscript->pGossipSelect = &GossipSelect_guard_orgrimmar;
newscript->pReceiveEmote = &ReceiveEmote_guard_orgrimmar;
newscript->GetAI = GetAI_guard_orgrimmar;
newscript->GetAI = &GetAI_guard_orgrimmar;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_shattrath";
newscript->pGossipHello = &GossipHello_guard_shattrath;
newscript->pGossipSelect = &GossipSelect_guard_shattrath;
newscript->GetAI = GetAI_guard_shattrath;
newscript->GetAI = &GetAI_guard_shattrath;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_shattrath_aldor";
newscript->GetAI = GetAI_guard_shattrath_aldor;
newscript->GetAI = &GetAI_guard_shattrath_aldor;
newscript->pGossipHello = &GossipHello_guard_shattrath_aldor;
newscript->pGossipSelect = &GossipSelect_guard_shattrath_aldor;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_shattrath_scryer";
newscript->GetAI = GetAI_guard_shattrath_scryer;
newscript->GetAI = &GetAI_guard_shattrath_scryer;
newscript->pGossipHello = &GossipHello_guard_shattrath_scryer;
newscript->pGossipSelect = &GossipSelect_guard_shattrath_scryer;
newscript->RegisterSelf();
@@ -4039,7 +4039,7 @@ void AddSC_guards()
newscript->Name="guard_silvermoon";
newscript->pGossipHello = &GossipHello_guard_silvermoon;
newscript->pGossipSelect = &GossipSelect_guard_silvermoon;
newscript->GetAI = GetAI_guard_silvermoon;
newscript->GetAI = &GetAI_guard_silvermoon;
newscript->RegisterSelf();
newscript = new Script;
@@ -4047,27 +4047,27 @@ void AddSC_guards()
newscript->pGossipHello = &GossipHello_guard_stormwind;
newscript->pGossipSelect = &GossipSelect_guard_stormwind;
newscript->pReceiveEmote = &ReceiveEmote_guard_stormwind;
newscript->GetAI = GetAI_guard_stormwind;
newscript->GetAI = &GetAI_guard_stormwind;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_teldrassil";
newscript->pGossipHello = &GossipHello_guard_teldrassil;
newscript->pGossipSelect = &GossipSelect_guard_teldrassil;
newscript->GetAI = GetAI_guard_teldrassil;
newscript->GetAI = &GetAI_guard_teldrassil;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_tirisfal";
newscript->pGossipHello = &GossipHello_guard_tirisfal;
newscript->pGossipSelect = &GossipSelect_guard_tirisfal;
newscript->GetAI = GetAI_guard_tirisfal;
newscript->GetAI = &GetAI_guard_tirisfal;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name="guard_undercity";
newscript->pGossipHello = &GossipHello_guard_undercity;
newscript->pGossipSelect = &GossipSelect_guard_undercity;
newscript->GetAI = GetAI_guard_undercity;
newscript->GetAI = &GetAI_guard_undercity;
newscript->RegisterSelf();
}