mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Replace some PQuery() calls with more simple Query()
This commit is contained in:
parent
086dee05cd
commit
fa37c291d6
8 changed files with 24 additions and 24 deletions
|
|
@ -1458,7 +1458,7 @@ void SpellMgr::LoadSpellChains()
|
|||
mSpellChains.clear(); // need for reload case
|
||||
mSpellChainsNext.clear(); // need for reload case
|
||||
|
||||
QueryResult *result = WorldDatabase.PQuery("SELECT spell_id, prev_spell, first_spell, rank, req_spell FROM spell_chain");
|
||||
QueryResult *result = WorldDatabase.Query("SELECT spell_id, prev_spell, first_spell, rank, req_spell FROM spell_chain");
|
||||
if(result == NULL)
|
||||
{
|
||||
barGoLink bar( 1 );
|
||||
|
|
@ -1665,7 +1665,7 @@ void SpellMgr::LoadSpellLearnSpells()
|
|||
{
|
||||
mSpellLearnSpells.clear(); // need for reload case
|
||||
|
||||
QueryResult *result = WorldDatabase.PQuery("SELECT entry, SpellID FROM spell_learn_spell");
|
||||
QueryResult *result = WorldDatabase.Query("SELECT entry, SpellID FROM spell_learn_spell");
|
||||
if(!result)
|
||||
{
|
||||
barGoLink bar( 1 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue