This commit is contained in:
parent
c8a3f3c9fc
commit
404975b407
8 changed files with 83 additions and 37 deletions
|
@ -54,7 +54,7 @@ class CLayerCollision *CNpc::m_layerCollision;
|
|||
|
||||
void CNpc::init()
|
||||
{
|
||||
m_type = NPC_FISH_FOLK;
|
||||
m_type = NPC_SHARK_MAN;
|
||||
|
||||
m_heading = m_fireHeading = 0;
|
||||
m_movementTimer = 0;
|
||||
|
@ -723,7 +723,7 @@ void CNpc::processMovement(int _frames)
|
|||
|
||||
case NPC_MOVEMENT_FIXED_PATH_WALK:
|
||||
{
|
||||
processGenericFixedPathWalk( _frames, &moveX, &moveY );
|
||||
processGenericFixedPathWalk( _frames, &moveX, &moveY, &m_heading );
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue