Fixed bug that was causing player's dead.
authorRicardo Cruz <rick2@aeiou.pt>
Sat, 8 May 2004 00:04:00 +0000 (00:04 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sat, 8 May 2004 00:04:00 +0000 (00:04 +0000)
Don't think it is totally solved

SVN-Revision: 1036

src/player.cpp

index 179b533..d447def 100644 (file)
@@ -758,7 +758,7 @@ Player::check_bounds()
     base.x = scroll_x;
 
   if(base.x == scroll_x)
-    if(issolid(base.x, base.y) || issolid(base.x, base.y+32))
+    if(issolid(base.x, base.y) || (size != SMALL && issolid(base.x, base.y+32)))
       kill(KILL);
 
   if(base.x + base.width > scroll_x + screen->w)