Changeset 83

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

[svn] * Compile fixes from previous revs.

Original author: KingPin?
Date: 2008-10-20 14:11:58-05:00

Location:
trunk/src/game
Files:
5 modified

Legend:

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

    r79 r83  
    1919 */ 
    2020 
    21 #include "AccountAccessor.h" 
     21#include "AccountMgr.h" 
    2222#include "Database/DatabaseEnv.h" 
    23 #include "ObjectMgr.h" 
     23#include "ObjectAccessor.h" 
    2424#include "Player.h" 
    2525#include "Policies/SingletonImp.h" 
  • trunk/src/game/Chat.cpp

    r79 r83  
    634634    for(uint32 i = 0; table[i].Name != NULL; i++) 
    635635    { 
    636         if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) 
     636        if( !hasStringAbbr(table[i].Name, cmd.c_str()) ) 
    637637            continue; 
    638638 
     
    722722            continue; 
    723723 
    724         if( !hasStringAbbr(table[i].Name, subcmd) ) 
     724        if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) 
    725725            continue; 
    726726 
  • trunk/src/game/ObjectMgr.cpp

    r79 r83  
    321321        { 
    322322            bidder_accId = GetPlayerAccountIdByGUID(bidder_guid); 
    323             bidder_security = GetSecurityByAccount(bidder_accId); 
    324323            bidder_security = accmgr.GetSecurity(bidder_accId); 
    325324 
  • trunk/src/game/World.cpp

    r51 r83  
    230230  packet << uint8 (0); 
    231231  packet << uint32 (0); 
    232   packet << uint8 (s->IsTBC () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account 
     232  packet << uint8 (s->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account 
    233233  s->SendPacket (&packet); 
    234234 
     
    267267    packet << uint8 (0); 
    268268    packet << uint32 (0); 
    269     packet << uint8 (sess->IsTBC () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account 
     269    packet << uint8 (sess->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account 
    270270    packet << uint32(GetQueuePos (sess)); 
    271271    sess->SendPacket (&packet); 
  • trunk/src/game/WorldSocket.cpp

    r78 r83  
    679679  uint32 BuiltNumberClient; 
    680680  uint32 id, security; 
    681   uint8 expansion = 0; 
     681  //uint8 expansion = 0; 
    682682  LocaleConstant locale; 
    683683  std::string account;