[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.8,1.9
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.8,1.9 |
Date: |
17 Aug 2002 17:56:25 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv28473/actions
Modified Files:
basher.cxx
Log Message:
changed some postfix increments to prefix increments
Index: basher.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/basher.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- basher.cxx 28 Jun 2002 15:12:22 -0000 1.8
+++ basher.cxx 17 Aug 2002 17:56:23 -0000 1.9
@@ -115,12 +115,12 @@
return true;
}
- for(int i = 0; i < 16; i++)
+ for(int i = 0; i < 16; ++i)
{
// Check that there is a high enough wall (i.e. not 1 pixel) to bash.
// Probably best to check from where Pingu can't automatically walk up
// up to head collision height.
- for (int j = bash_height + 1; j <= 26; j++)
+ for (int j = bash_height + 1; j <= 26; ++j)
{
if (rel_getpixel(i,j) == GroundpieceData::GP_GROUND)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.8,1.9,
torangan <=