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

« back to all changes in this revision

Viewing changes to src/net/ea/beinghandler.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-07-11 10:09:41 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130711100941-f0rwuvcwgl8ulqo8
Tags: 1.3.7.7.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
    if (speed == 0)
196
196
        speed = 150;
197
197
 
198
 
    dstBeing->setWalkSpeed(Vector(speed, speed, 0));
199
 
    dstBeing->setSubtype(job);
 
198
    const int hairStyle = msg.readInt8();
 
199
    const int look = msg.readInt8();
 
200
    dstBeing->setSubtype(job, look);
200
201
    if (dstBeing->getType() == ActorSprite::MONSTER && player_node)
201
202
        player_node->checkNewName(dstBeing);
202
 
 
203
 
    const int hairStyle = msg.readInt8();
204
 
    msg.readInt8();  // free
 
203
    dstBeing->setWalkSpeed(Vector(speed, speed, 0));
205
204
    const uint16_t weapon = msg.readInt16();
206
205
    const uint16_t headBottom = msg.readInt16();
207
206