forked from mirror/azerothcore-wotlk
fix(Scripts/Commands): change waypoint script parameter type (#26026)
This commit is contained in:
@@ -340,7 +340,7 @@ public:
|
||||
|
||||
uint32 a2, a3, a4, a5, a6;
|
||||
float a8, a9, a10, a11;
|
||||
char const* a7;
|
||||
std::string a7;
|
||||
|
||||
WorldDatabasePreparedStatement* stmt = WorldDatabase.GetPreparedStatement(WORLD_SEL_WAYPOINT_SCRIPT_BY_ID);
|
||||
stmt->SetData(0, id);
|
||||
@@ -362,7 +362,7 @@ public:
|
||||
a4 = fields[2].Get<uint32>();
|
||||
a5 = fields[3].Get<uint32>();
|
||||
a6 = fields[4].Get<uint32>();
|
||||
a7 = fields[5].Get<std::string>().c_str();
|
||||
a7 = fields[5].Get<std::string>();
|
||||
a8 = fields[6].Get<float>();
|
||||
a9 = fields[7].Get<float>();
|
||||
a10 = fields[8].Get<float>();
|
||||
|
||||
Reference in New Issue
Block a user