Show
Ignore:
Timestamp:
11/19/08 13:25:37 (17 years ago)
Author:
yumileroy
Message:

[svn] * Removing useless data accidentally committed.
* Applying ImpConfig? patch.
* Note: QUEUE_FOR_GM currently disabled as it's not compatible with the ACE patch. Anyone care to rewrite it?
* Note2: This is untested - I may have done some mistakes here and there. Will try to compile now.

Original author: XTZGZoReX
Date: 2008-10-10 13:37:21-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/ObjectMgr.cpp

    r28 r34  
    20822082        QueryResult *result = WorldDatabase.Query("SELECT race, class, Spell, Active FROM playercreateinfo_spell"); 
    20832083 
     2084        QueryResult *result = NULL; 
     2085        if(sWorld.getConfig(CONFIG_START_ALL_SPELLS)) 
     2086                result = WorldDatabase.Query("SELECT race, class, Spell, Active FROM playercreateinfo_spell_custom"); 
     2087        else 
     2088                result = WorldDatabase.Query("SELECT race, class, Spell, Active FROM playercreateinfo_spell"); 
     2089 
    20842090        uint32 count = 0; 
    20852091 
     
    20902096            sLog.outString(); 
    20912097            sLog.outString( ">> Loaded %u player create spells", count ); 
    2092             sLog.outErrorDb( "Error loading `playercreateinfo_spell` table or empty table."); 
     2098            sLog.outErrorDb( "Error loading player starting spells or empty table."); 
    20932099        } 
    20942100        else