aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorFilippos Karapetis2009-04-03 23:06:42 +0000
committerFilippos Karapetis2009-04-03 23:06:42 +0000
commit3d556dd9e0aaae9fb086b7b22214cd7b4d3564c4 (patch)
tree55a3eda733de555227be0a314839d4120a37d81b /engines/kyra
parente03eb7d4ce6643b164bd60e278738fd9ca6ba4b5 (diff)
downloadscummvm-rg350-3d556dd9e0aaae9fb086b7b22214cd7b4d3564c4.tar.gz
scummvm-rg350-3d556dd9e0aaae9fb086b7b22214cd7b4d3564c4.tar.bz2
scummvm-rg350-3d556dd9e0aaae9fb086b7b22214cd7b4d3564c4.zip
Fixed compilation (a signed byte cannot hold such big values)
svn-id: r39821
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/lol.h2
-rw-r--r--engines/kyra/staticres.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/lol.h b/engines/kyra/lol.h
index e40d7e95ea..2674575ca8 100644
--- a/engines/kyra/lol.h
+++ b/engines/kyra/lol.h
@@ -1205,7 +1205,7 @@ private:
uint8 *_mapCursorOverlay;
uint8 _automapTopLeftX;
uint8 _automapTopLeftY;
- static const int8 _mapCoords[12][4];
+ static const uint8 _mapCoords[12][4];
bool _mapUpdateNeeded;
};
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index c18850c97d..fc37b2d9cd 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -3063,7 +3063,7 @@ const uint8 LoLEngine::_clock2Timers[] = {
0x51, 0x52, 0x08, 0x09, 0x0A
};
-const int8 LoLEngine::_mapCoords[12][4] = {
+const uint8 LoLEngine::_mapCoords[12][4] = {
{ 0x00, 0x07, 0x00, 0xFB }, { 0xFB, 0x00, 0x06, 0x00 }, { 0x07, 0x05, 0x07, 0x01 },
{ 0x05, 0x06, 0x04, 0x06 }, { 0x00, 0x07, 0x00, 0xFF }, { 0xFD, 0x00, 0x06, 0x00 },
{ 0x06, 0x07, 0x06, 0xFD }, { 0xFD, 0x05, 0x06, 0x05 }, { 0x01, 0x05, 0x01, 0x01 },