~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/net/tmwa/chathandler.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-09-17 10:35:51 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130917103551-az7p3nz9jgxwqjfn
Tags: 1.3.9.15-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include "actorspritemanager.h"
26
26
#include "configuration.h"
27
27
#include "game.h"
28
 
#include "localplayer.h"
29
 
#include "playerrelations.h"
 
28
 
 
29
#include "being/localplayer.h"
 
30
#include "being/playerrelations.h"
30
31
 
31
32
#include "gui/chatwindow.h"
32
33
#include "gui/shopwindow.h"
41
42
 
42
43
extern Net::ChatHandler *chatHandler;
43
44
extern int serverVersion;
 
45
extern unsigned int tmwServerVersion;
44
46
 
45
47
namespace TmwAthena
46
48
{
277
279
 
278
280
void ChatHandler::ignoreAll() const
279
281
{
 
282
    if (tmwServerVersion > 0)
 
283
        return;
280
284
    MessageOut outMsg(CMSG_IGNORE_ALL);
281
285
    outMsg.writeInt8(0);
282
286
}
283
287
 
284
288
void ChatHandler::unIgnoreAll() const
285
289
{
 
290
    if (tmwServerVersion > 0)
 
291
        return;
286
292
    MessageOut outMsg(CMSG_IGNORE_ALL);
287
293
    outMsg.writeInt8(1);
288
294
}