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

« back to all changes in this revision

Viewing changes to src/net/tmwa/guildhandler.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:
22
22
#include "net/tmwa/guildhandler.h"
23
23
 
24
24
#include "actorspritemanager.h"
25
 
#include "localplayer.h"
26
 
#include "playerinfo.h"
 
25
 
 
26
#include "being/localplayer.h"
 
27
#include "being/playerinfo.h"
27
28
 
28
29
#include "net/tmwa/messagein.h"
29
30
#include "net/tmwa/protocol.h"
31
32
#include "debug.h"
32
33
 
33
34
extern Net::GuildHandler *guildHandler;
 
35
extern unsigned int tmwServerVersion;
34
36
 
35
37
namespace TmwAthena
36
38
{
81
83
void GuildHandler::handleMessage(Net::MessageIn &msg)
82
84
{
83
85
    BLOCK_START("GuildHandler::handleMessage")
 
86
    if (tmwServerVersion > 0)
 
87
        return;
 
88
 
84
89
    switch (msg.getId())
85
90
    {
86
91
        case SMSG_GUILD_CREATE_RESPONSE: