Skip to content

Commit

Permalink
change m_move to CID_LOOK after consuming it in order to avoid unknown
Browse files Browse the repository at this point in the history
moves on look.


git-svn-id: svn://svn.code.sf.net/p/mmapper/code/trunk/mmapper@87 14c008a5-6e10-0410-bf79-c100e0f1932b
  • Loading branch information
alve committed Aug 20, 2006
1 parent 7eb11e9 commit f7e5e14
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/parser/mumexmlparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,13 @@ bool MumeXmlParser::characters(QByteArray& ch)
emit showPath(queue, false);
characterMoved(c, m_roomName, m_dynamicRoomDesc, m_staticRoomDesc, m_exitsFlags, m_promptFlags);
}
m_move = CID_LOOK;
}
else
{
emit showPath(queue, false);
characterMoved(m_move, m_roomName, m_dynamicRoomDesc, m_staticRoomDesc, m_exitsFlags, m_promptFlags);
m_move = CID_LOOK;
}
}

Expand Down Expand Up @@ -450,11 +452,13 @@ bool MumeXmlParser::characters(QByteArray& ch)
emit showPath(queue, false);
characterMoved(c, m_roomName, m_dynamicRoomDesc, m_staticRoomDesc, m_exitsFlags, m_promptFlags);
}
m_move = CID_LOOK;
}
else
{
emit showPath(queue, false);
characterMoved(m_move, m_roomName, m_dynamicRoomDesc, m_staticRoomDesc, m_exitsFlags, m_promptFlags);
m_move = CID_LOOK;
}
}
else
Expand Down

0 comments on commit f7e5e14

Please sign in to comment.