mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Update src/server/shared/Database/Field.h
This commit is contained in:
@@ -203,7 +203,7 @@ class Field
|
||||
return 0.0f;
|
||||
|
||||
#ifdef TRINITY_DEBUG
|
||||
if (!IsType(MYSQL_TYPE_FLOAT))
|
||||
if (!IsType(MYSQL_TYPE_DOUBLE))
|
||||
{
|
||||
sLog->outSQLDriver("Warning: GetDouble() on non-double field.");
|
||||
return 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user