Changeset 74 for trunk/src/game/Player.cpp
- Timestamp:
- 11/19/08 13:31:47 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Player.cpp
r69 r74 13665 13665 { 13666 13666 //// 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 [28] [29] 30 31 32 13667 //QueryResult *result = CharacterDatabase.PQuery("SELECT guid, account, data, name, race, class, position_x, position_y, position_z, map, orientation, taximask, cinematic, totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, trans_x, trans_y, trans_z, trans_o, transguid, gmstate, stable_slots, at_login, zone, online, death_expire_time, taxi_path, dungeon_difficulty FROM characters WHERE guid = '%u'", guid);13667 //QueryResult *result = CharacterDatabase.PQuery("SELECT guid, account, data, name, race, class, position_x, position_y, position_z, map, orientation, taximask, cinematic, totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, trans_x, trans_y, trans_z, trans_o, transguid, extraflags, stable_slots, at_login, zone, online, death_expire_time, taxi_path, dungeon_difficulty FROM characters WHERE guid = '%u'", guid); 13668 13668 QueryResult *result = holder->GetResult(PLAYER_LOGIN_QUERY_LOADFROM); 13669 13669 … … 13900 13900 m_taxi.LoadTaxiMask( fields[11].GetString() ); // must be before InitTaxiNodesForLevel 13901 13901 13902 uint32 gmstate= fields[25].GetUInt32();13902 uint32 extraflags = fields[25].GetUInt32(); 13903 13903 13904 13904 m_stableSlots = fields[26].GetUInt32(); … … 14090 14090 case 1: SetGameMaster(true); break; // enable 14091 14091 case 2: // save state 14092 if( gmstate& PLAYER_EXTRA_GM_ON)14092 if(extraflags & PLAYER_EXTRA_GM_ON) 14093 14093 SetGameMaster(true); 14094 14094 break; … … 14101 14101 case 1: SetAcceptTicket(true); break; // enable 14102 14102 case 2: // save state 14103 if( gmstate& PLAYER_EXTRA_GM_ACCEPT_TICKETS)14103 if(extraflags & PLAYER_EXTRA_GM_ACCEPT_TICKETS) 14104 14104 SetAcceptTicket(true); 14105 14105 break; … … 14112 14112 case 1: SetGMChat(true); break; // enable 14113 14113 case 2: // save state 14114 if( gmstate& PLAYER_EXTRA_GM_CHAT)14114 if(extraflags & PLAYER_EXTRA_GM_CHAT) 14115 14115 SetGMChat(true); 14116 14116 break; … … 14123 14123 case 1: SetAcceptWhispers(true); break; // enable 14124 14124 case 2: // save state 14125 if( gmstate& PLAYER_EXTRA_ACCEPT_WHISPERS)14125 if(extraflags & PLAYER_EXTRA_ACCEPT_WHISPERS) 14126 14126 SetAcceptWhispers(true); 14127 14127 break; … … 15110 15110 "taximask, online, cinematic, " 15111 15111 "totaltime, leveltime, rest_bonus, logout_time, is_logout_resting, resettalents_cost, resettalents_time, " 15112 "trans_x, trans_y, trans_z, trans_o, transguid, gmstate, stable_slots, at_login, zone, "15112 "trans_x, trans_y, trans_z, trans_o, transguid, extraflags, stable_slots, at_login, zone, " 15113 15113 "death_expire_time, taxi_path) VALUES (" 15114 15114 << GetGUIDLow() << ", "