From 59e6c53fc0900e29cc3b223aad61173a18f6b5f6 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 27 Jan 2022 17:18:20 +0100 Subject: chore: cleanup --- docs/mysqltypescpp.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/mysqltypescpp.md b/docs/mysqltypescpp.md index 4e7d976..0489c2d 100644 --- a/docs/mysqltypescpp.md +++ b/docs/mysqltypescpp.md @@ -207,12 +207,12 @@ redirect_from: "/MySQLtypesC++" QueryResult result = WorldDatabase.Query("SELECT guid, entry, name, period, ScriptName FROM transports"); do { - Field* fields = result->Fetch(); - uint32 lowguid = fields[0].GetUInt32(); - uint32 entry = fields[1].GetUInt32(); + Field* fields = result->Fetch(); + uint32 lowguid = fields[0].GetUInt32(); + uint32 entry = fields[1].GetUInt32(); std::string name = fields[2].GetString(); - uint32 period = fields[3].GetUInt32(); - uint32 scriptId = sObjectMgr->GetScriptId(fields[4].GetCString()); + uint32 period = fields[3].GetUInt32(); + uint32 scriptId = sObjectMgr->GetScriptId(fields[4].GetCString()); // ... } -- cgit