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

« back to all changes in this revision

Viewing changes to src/being.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-05-27 09:14:03 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130527091403-4b1jceqok7g2v5on
Tags: 1.3.5.26-1
[ Andrei Karas ]
* Add new files to copyright file.
* Update homepage URL.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#include "net/npchandler.h"
49
49
#include "net/playerhandler.h"
50
50
 
 
51
#include "resources/avatardb.h"
51
52
#include "resources/emotedb.h"
52
53
#include "resources/iteminfo.h"
53
54
#include "resources/monsterdb.h"
56
57
#include "resources/resourcemanager.h"
57
58
 
58
59
#include "gui/widgets/langtab.h"
 
60
#include "gui/widgets/skillinfo.h"
59
61
 
60
62
#include "utils/gettext.h"
61
63
 
251
253
            mYDiff = mInfo->getSortOffsetY();
252
254
        }
253
255
    }
 
256
    else if (mType == AVATAR)
 
257
    {
 
258
        mInfo = AvatarDB::get(mSubType);
 
259
        if (mInfo)
 
260
            setupSpriteDisplay(mInfo->getDisplay(), false);
 
261
    }
254
262
    else if (mType == PET)
255
263
    {
256
264
        mInfo = PETDB::get(mId);