fix for WorldSessionMgr
This commit is contained in:
parent
0f8ee189b1
commit
d133684206
1 changed files with 5 additions and 4 deletions
|
|
@ -64,9 +64,10 @@ config file for quick modifications.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Configuration/Config.h"
|
#include "Configuration/Config.h"
|
||||||
#include "ScriptMgr.h"
|
|
||||||
#include "Player.h"
|
|
||||||
#include "Chat.h"
|
#include "Chat.h"
|
||||||
|
#include "Player.h"
|
||||||
|
#include "ScriptMgr.h"
|
||||||
|
#include "WorldSessionMgr.h"
|
||||||
|
|
||||||
struct COL
|
struct COL
|
||||||
{
|
{
|
||||||
|
|
@ -249,7 +250,7 @@ public:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sWorld->SendServerMessage(SERVER_MSG_STRING, ss.str().c_str());
|
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, ss.str().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
// If level is defined, they hit a reward level.
|
// If level is defined, they hit a reward level.
|
||||||
|
|
@ -278,7 +279,7 @@ public:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sWorld->SendServerMessage(SERVER_MSG_STRING, ss.str().c_str());
|
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, ss.str().c_str());
|
||||||
|
|
||||||
// Issue a raid warning to the player
|
// Issue a raid warning to the player
|
||||||
std::ostringstream ss2;
|
std::ostringstream ss2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue