mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Revert change from PQuery to Query for one accidentally included query.
This commit is contained in:
parent
fa37c291d6
commit
322b201c4d
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ void WorldSession::HandleCharCreateOpcode( WorldPacket & recv_data )
|
||||||
bool have_same_race = false;
|
bool have_same_race = false;
|
||||||
if(!AllowTwoSideAccounts || skipCinematics == 1)
|
if(!AllowTwoSideAccounts || skipCinematics == 1)
|
||||||
{
|
{
|
||||||
QueryResult *result2 = CharacterDatabase.Query("SELECT DISTINCT race FROM characters WHERE account = '%u' %s", GetAccountId(),skipCinematics == 1 ? "" : "LIMIT 1");
|
QueryResult *result2 = CharacterDatabase.PQuery("SELECT DISTINCT race FROM characters WHERE account = '%u' %s", GetAccountId(),skipCinematics == 1 ? "" : "LIMIT 1");
|
||||||
if(result2)
|
if(result2)
|
||||||
{
|
{
|
||||||
uint32 team_= Player::TeamForRace(race_);
|
uint32 team_= Player::TeamForRace(race_);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue