Core: Append single character to stream as character, not as a string

This commit is contained in:
Spp-
2011-07-29 14:18:28 +02:00
parent 06b46ba203
commit e47b96af3e
70 changed files with 432 additions and 424 deletions
+2 -2
View File
@@ -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 "