From e8c9c5cd3200a467dd40818586949c948d1f3044 Mon Sep 17 00:00:00 2001
From: Treeki <treeki@gmail.com>
Date: Tue, 28 May 2013 01:33:09 +0200
Subject: fixed debubbler

---
 src/levelspecial.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/levelspecial.cpp b/src/levelspecial.cpp
index 8b37d5e..512daab 100644
--- a/src/levelspecial.cpp
+++ b/src/levelspecial.cpp
@@ -106,7 +106,7 @@ void FuckinBubbles() {
 	int zone = GetZoneNum();
 	for (int i = 0; i < course->zoneSpriteCount[zone]; i++) {
 		dCourse_c::sprite_s *spr = &course->zoneFirstSprite[zone][i];
-		if (spr->type == 246 && (spr->settings & 0xFFFFFF) == 2)
+		if (spr->type == 246 && (spr->settings & 0xF) == 8)
 			thing = true;
 	}
 
-- 
cgit v1.2.3