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

[svn] *Implement new player conditions CONDITION_NO_AURA, CONDITION_ACTIVE_EVENT
* Default behaviour of pets for creatures changed to REACT_DEFENSIVE
* Disallowed sending wrapped items as COD
* Prevent loading and saving single target auras for pet in same way as already implemented for player
* Correctly limit use some flask types to zones.
* Fixed extracting common.MPQ under *nix
* Many small xleanups and fixes.
** mangos merge rev.

TEST REV so be careful of creepy crawly bugs!

Original author: KingPin?
Date: 2008-11-02 16:53:46-06:00

Files:
1 modified

Legend:

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

    r138 r149  
    26132613    m_maxQueuedSessionCount = std::max(m_maxQueuedSessionCount,uint32(m_QueuedPlayer.size())); 
    26142614} 
     2615 
     2616void World::LoadDBVersion() 
     2617{ 
     2618        QueryResult* result = WorldDatabase.Query("SELECT version FROM db_version LIMIT 1"); 
     2619        if(result) 
     2620        { 
     2621                Field* fields = result->Fetch(); 
     2622 
     2623                m_DBVersion = fields[0].GetString(); 
     2624                delete result; 
     2625        } 
     2626        else 
     2627                m_DBVersion = "unknown world database"; 
     2628}