Fix a lot of warnings
This commit is contained in:
1 parent
e47ec04b4d
commit
03c34ee507
38 files changed
+88
-98
No files matched your search
@@ -316,7 +316,7 @@ void InstanceScript::DoSendNotifyToInstance(char const* format, ...)
|
||||
for (Map::PlayerList::const_iterator i = players.begin(); i != players.end(); ++i)
|
||||
if (Player* player = i->getSource())
|
||||
if (WorldSession* session = player->GetSession())
|
||||
session->SendNotification(buff);
|
||||
session->SendNotification("%s", buff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user