Changeset 83
- Timestamp:
- 11/19/08 13:32:42 (17 years ago)
- Location:
- trunk/src/game
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/AccountMgr.cpp
r79 r83 19 19 */ 20 20 21 #include "Account Accessor.h"21 #include "AccountMgr.h" 22 22 #include "Database/DatabaseEnv.h" 23 #include "Object Mgr.h"23 #include "ObjectAccessor.h" 24 24 #include "Player.h" 25 25 #include "Policies/SingletonImp.h" -
trunk/src/game/Chat.cpp
r79 r83 634 634 for(uint32 i = 0; table[i].Name != NULL; i++) 635 635 { 636 if( *subcmd && !hasStringAbbr(table[i].Name, subcmd))636 if( !hasStringAbbr(table[i].Name, cmd.c_str()) ) 637 637 continue; 638 638 … … 722 722 continue; 723 723 724 if( !hasStringAbbr(table[i].Name, subcmd))724 if( *subcmd && !hasStringAbbr(table[i].Name, subcmd)) 725 725 continue; 726 726 -
trunk/src/game/ObjectMgr.cpp
r79 r83 321 321 { 322 322 bidder_accId = GetPlayerAccountIdByGUID(bidder_guid); 323 bidder_security = GetSecurityByAccount(bidder_accId);324 323 bidder_security = accmgr.GetSecurity(bidder_accId); 325 324 -
trunk/src/game/World.cpp
r51 r83 230 230 packet << uint8 (0); 231 231 packet << uint32 (0); 232 packet << uint8 (s-> IsTBC() ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account232 packet << uint8 (s->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account 233 233 s->SendPacket (&packet); 234 234 … … 267 267 packet << uint8 (0); 268 268 packet << uint32 (0); 269 packet << uint8 (sess-> IsTBC() ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account269 packet << uint8 (sess->Expansion () ? 1 : 0); // 0 - normal, 1 - TBC, must be set in database manually for each account 270 270 packet << uint32(GetQueuePos (sess)); 271 271 sess->SendPacket (&packet); -
trunk/src/game/WorldSocket.cpp
r78 r83 679 679 uint32 BuiltNumberClient; 680 680 uint32 id, security; 681 uint8 expansion = 0;681 //uint8 expansion = 0; 682 682 LocaleConstant locale; 683 683 std::string account;