aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLittleboy2012-07-15 19:26:35 -0400
committerLittleboy2012-07-16 23:51:27 -0400
commite517c1199a0a187d865fbf22ce964a7dad069eb9 (patch)
tree8362ebc80a7fd5ce2ce6a7151f425f0a9fc424a8
parent132dd5b4bc236f805babe0187797ef03bbb16310 (diff)
downloadscummvm-rg350-e517c1199a0a187d865fbf22ce964a7dad069eb9.tar.gz
scummvm-rg350-e517c1199a0a187d865fbf22ce964a7dad069eb9.tar.bz2
scummvm-rg350-e517c1199a0a187d865fbf22ce964a7dad069eb9.zip
LASTEXPRESS: Move LOW_BYTE macro to helpers.h
-rw-r--r--engines/lastexpress/entities/entity_intern.h2
-rw-r--r--engines/lastexpress/helpers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/entities/entity_intern.h b/engines/lastexpress/entities/entity_intern.h
index 0613b7bb0b..c622ff9f0e 100644
--- a/engines/lastexpress/entities/entity_intern.h
+++ b/engines/lastexpress/entities/entity_intern.h
@@ -25,8 +25,6 @@
namespace LastExpress {
-#define LOW_BYTE(w) ((unsigned char)(((unsigned long)(w)) & 0xff))
-
//////////////////////////////////////////////////////////////////////////
// Callbacks
#define ENTITY_CALLBACK(class, name, pointer) \
diff --git a/engines/lastexpress/helpers.h b/engines/lastexpress/helpers.h
index 7f3f1e246c..02454be13d 100644
--- a/engines/lastexpress/helpers.h
+++ b/engines/lastexpress/helpers.h
@@ -27,6 +27,8 @@
// Misc helpers
//////////////////////////////////////////////////////////////////////////
+#define LOW_BYTE(w) ((unsigned char)(((unsigned long)(w)) & 0xff))
+
// Misc
#define getArchive(name) _engine->getResourceManager()->getFileStream(name)
#define rnd(value) _engine->getRandom().getRandomNumber(value - 1)