[wpdev-commits] wolfpack/ai ai.cpp,1.23,1.24
Brought to you by:
rip,
thiagocorrea
From: Correa <thi...@us...> - 2004-08-19 01:23:33
|
Update of /cvsroot/wpdev/wolfpack/ai In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21928/ai Modified Files: ai.cpp Log Message: QT_CLEAN_NAMESPACE Index: ai.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/ai/ai.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ai.cpp 13 Aug 2004 08:55:26 -0000 1.23 --- ai.cpp 19 Aug 2004 01:22:54 -0000 1.24 *************** *** 553,558 **** { // get any point out of the rectangle and calculate the direction to it ! UINT16 rndx = RandomNum( m_npc->wanderX1(), m_npc->wanderX2() ); ! UINT16 rndy = RandomNum( m_npc->wanderY1(), m_npc->wanderY2() ); UINT8 dir = m_npc->pos().direction( Coord_cl( rndx, rndy ) ); --- 553,558 ---- { // get any point out of the rectangle and calculate the direction to it ! Q_UINT16 rndx = RandomNum( m_npc->wanderX1(), m_npc->wanderX2() ); ! Q_UINT16 rndy = RandomNum( m_npc->wanderY1(), m_npc->wanderY2() ); UINT8 dir = m_npc->pos().direction( Coord_cl( rndx, rndy ) ); |