From 34abbcc84ccbefac065a8c7afd62ce272b3e51ec Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Thu, 18 Aug 2011 13:19:51 +0100 Subject: [PATCH] Prevent GBMB reacting with walls --- src/elements/gbmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/gbmb.c b/src/elements/gbmb.c index f8a461e9d..30baf7b7c 100644 --- a/src/elements/gbmb.c +++ b/src/elements/gbmb.c @@ -4,7 +4,7 @@ int update_GBMB(UPDATE_FUNC_ARGS) { for (rx=-2; rx<3; rx++) for (ry=-2; ry<3; ry++){ r = pmap[y+ry][x+rx]; - if(r) + if(r && (r>>8)