[wpdev-commits] wolfpack walking.cpp,1.128,1.129
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-07-21 17:14:20
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4905 Modified Files: walking.cpp Log Message: Another fix for walking issues on stairs/map interaction. Index: walking.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/walking.cpp,v retrieving revision 1.128 retrieving revision 1.129 diff -C2 -d -r1.128 -r1.129 *** walking.cpp 19 Jun 2004 02:06:51 -0000 1.128 --- walking.cpp 21 Jul 2004 17:14:12 -0000 1.129 *************** *** 185,191 **** staticBlock.walkable = checkWalkable( pChar, staIter->itemid ); ! // If we are a stair only the half height counts if ( tTile.flag2 & 0x04 ) ! staticBlock.height = ( UINT8 ) ( tTile.height / 2 ); else staticBlock.height = tTile.height; --- 185,191 ---- staticBlock.walkable = checkWalkable( pChar, staIter->itemid ); ! // If we are a stair only the half height counts (round up) if ( tTile.flag2 & 0x04 ) ! staticBlock.height = ( UINT8 ) ( tTile.height + 1 / 2 ); else staticBlock.height = tTile.height; |