aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/mult_v2.cpp2
-rw-r--r--engines/sword2/mouse.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp
index 200349f58f..087754f9a8 100644
--- a/engines/gob/mult_v2.cpp
+++ b/engines/gob/mult_v2.cpp
@@ -63,7 +63,7 @@ void Mult_v2::loadMult(int16 resId) {
staticCount++;
animCount++;
- hbstaticCount = staticCount & 0x80;
+ hbstaticCount = (staticCount & 0x80) != 0;
staticCount &= 0x7F;
debug(7, "statics: %u, anims: %u, hb: %u", staticCount, animCount, hbstaticCount);
diff --git a/engines/sword2/mouse.h b/engines/sword2/mouse.h
index 4f4fcdadff..97ea01e7a7 100644
--- a/engines/sword2/mouse.h
+++ b/engines/sword2/mouse.h
@@ -34,7 +34,7 @@
namespace Sword2 {
-class MenuObject;
+struct MenuObject;
struct BuildUnit;
// Menubar defines.