cleanup
This commit is contained in:
parent
95087435ae
commit
ede22aafab
3
rc.c
3
rc.c
|
@ -9007,8 +9007,6 @@ void dogravity(sprite_t *s) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* kill anything we've caught */
|
/* kill anything we've caught */
|
||||||
for (s2 = sprite; s2 ; s2 = s2->next) {
|
for (s2 = sprite; s2 ; s2 = s2->next) {
|
||||||
/* kill anything we have caught */
|
/* kill anything we have caught */
|
||||||
|
@ -9025,7 +9023,6 @@ void dogravity(sprite_t *s) {
|
||||||
// check for platform
|
// check for platform
|
||||||
onplatform = isonplatform(s2->x,s2->y+2);
|
onplatform = isonplatform(s2->x,s2->y+2);
|
||||||
|
|
||||||
|
|
||||||
/* if on ground or hitting a wall, monster dies */
|
/* if on ground or hitting a wall, monster dies */
|
||||||
if ((hitwall) || (onplatform) || (tt == NULL) || (tt->solid)) {
|
if ((hitwall) || (onplatform) || (tt == NULL) || (tt->solid)) {
|
||||||
if (isplayer(s2)) {
|
if (isplayer(s2)) {
|
||||||
|
|
Loading…
Reference in New Issue