Core: Append single character to stream as character, not as a string
This commit is contained in:
@@ -254,13 +254,13 @@ public:
|
||||
initString =false;
|
||||
}
|
||||
else
|
||||
eventFilter << ", " << *itr;
|
||||
eventFilter << ',' << *itr;
|
||||
}
|
||||
|
||||
if (!initString)
|
||||
eventFilter << "))";
|
||||
else
|
||||
eventFilter << ")";
|
||||
eventFilter << ')';
|
||||
|
||||
result = WorldDatabase.PQuery("SELECT gameobject.guid, id, position_x, position_y, position_z, orientation, map, phaseMask, "
|
||||
"(POW(position_x - %f, 2) + POW(position_y - %f, 2) + POW(position_z - %f, 2)) AS order_ FROM gameobject "
|
||||
|
||||
Reference in New Issue
Block a user