Fix a lot of warnings

This commit is contained in:
Spp committed 2012-02-16 13:56:28 +01:00
1 parent e47ec04b4d
commit 03c34ee507
38 files changed
+88 -98

No files matched your search

+1 -1
View File
@@ -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);
}
}