Core/DBLayer: More type fixes.

This commit is contained in:
Shauren committed 2012-04-07 17:27:40 +02:00
1 parent c2c8b62282
commit ae0a6cde21
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -138,8 +138,8 @@ public:
if (resultDB)
{
Field* fieldsDB = resultDB->Fetch();
uint32 mapId = fieldsDB[0].GetUInt32();
uint32 zoneId = fieldsDB[1].GetUInt32();
uint32 mapId = fieldsDB[0].GetUInt16();
uint32 zoneId = fieldsDB[1].GetUInt16();
float posX = fieldsDB[2].GetFloat();
float posY = fieldsDB[3].GetFloat();
float posZ = fieldsDB[4].GetFloat();