mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/GameEventMgr: Fix a compile warning
This commit is contained in:
@@ -823,7 +823,7 @@ void GameEventMgr::LoadFromDB()
|
||||
{
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
int8 event_id = fields[0].GetInt8();
|
||||
uint8 event_id = fields[0].GetUInt8();
|
||||
|
||||
if (event_id >= mGameEventVendors.size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user