mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
chore(Core): Remove unnecessary slang Cosmetic (#9325)
* Remove unnecessary slang Removes ZOMG! that is used in the src in logging and notes. Completely Unnecessary. Contributes to nothing useful. Inflates source. Not needed at all in any shape or form. Not Developer Lingo either. * Further Clean Up Removed Profanity * sensible grammar correction * More ZOMG! removal
This commit is contained in:
@@ -615,9 +615,9 @@ InstancePlayerBind* InstanceSaveMgr::PlayerBindToInstance(ObjectGuid guid, Insta
|
||||
// pussywizard: protect against mysql thread races!
|
||||
// pussywizard: CHANGED MY MIND! DON'T SLOW DOWN THIS QUERY! HANDLE ONLY DURING LOADING FROM DB!
|
||||
// example: enter instance -> bind -> update old id to new id -> exit -> delete new id
|
||||
// if delete by new id is executed before update, then we end up with shit in db
|
||||
// if delete by new id is executed before update, then we end up with in db
|
||||
/*CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
// ensure any shit for that map+difficulty is deleted!
|
||||
// ensure any for that map+difficulty is deleted!
|
||||
CharacterDatabasePreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_CHAR_INSTANCE_BY_GUID_MAP_DIFF); // DELETE ci FROM character_instance ci JOIN instance i ON ci.instance = i.id WHERE ci.guid = ? AND i.map = ? AND i.difficulty = ?
|
||||
stmt->setUInt32(0, guidLow);
|
||||
stmt->setUInt16(1, uint16(save->GetMapId()));
|
||||
|
||||
Reference in New Issue
Block a user