[wpdev-commits] wolfpack coord.cpp,1.56,1.57
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-09-15 02:26:43
|
Update of /cvsroot/wpdev/wolfpack In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23673 Modified Files: coord.cpp Log Message: newlos Index: coord.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/coord.cpp,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** coord.cpp 15 Sep 2004 02:15:28 -0000 1.56 --- coord.cpp 15 Sep 2004 02:26:33 -0000 1.57 *************** *** 338,341 **** --- 338,343 ---- QValueList<Coord_cl> pointList = getPointList(origin, target); + bool result = true; + QValueList<Coord_cl>::const_iterator it; for (it = pointList.begin(); it != pointList.end(); ++it) { *************** *** 347,350 **** --- 349,353 ---- // Play an effect for the tile if (blocked) { + result = false; point.effect(0x181D, 10, 50, 0x21); } else { *************** *** 353,357 **** } ! return true; } --- 356,360 ---- } ! return result; } |