[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.18,1.19
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.18,1.19 |
Date: |
5 Oct 2002 12:40:04 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv9380/actions
Modified Files:
basher.cxx
Log Message:
- commited Gervases changes
- fixed a small bug
Index: basher.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/basher.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- basher.cxx 4 Oct 2002 13:46:56 -0000 1.18
+++ basher.cxx 5 Oct 2002 12:40:02 -0000 1.19
@@ -114,12 +114,12 @@
return true;
}
- for(int x = 0; x < 16; ++x)
+ for(int x = 0; x <= 16; ++x)
{
// 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 y = bash_height + 1; y <= 26; ++y)
+ for (int y = bash_height + 1; y <= bash_height + pingu_height + 1; ++y)
{
if (rel_getpixel(x, y) == Groundtype::GP_GROUND)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/actions basher.cxx,1.18,1.19,
torangan <=