aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/griffon/input.cpp2
-rw-r--r--engines/griffon/logic.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/griffon/input.cpp b/engines/griffon/input.cpp
index cc6a48dee7..7bb33f7ddc 100644
--- a/engines/griffon/input.cpp
+++ b/engines/griffon/input.cpp
@@ -379,7 +379,7 @@ void GriffonEngine::handleWalking() {
if (ramp == 3 && _movingLeft)
_movingDown = true;
- unsigned int *temp/*, c*/, bgc;
+ uint32 *temp/*, c*/, bgc;
for (int x = -1; x <= 1; x++) {
for (int y = -1; y <= 1; y++) {
diff --git a/engines/griffon/logic.cpp b/engines/griffon/logic.cpp
index d1c3d8c16c..47d49113bf 100644
--- a/engines/griffon/logic.cpp
+++ b/engines/griffon/logic.cpp
@@ -2118,8 +2118,8 @@ void GriffonEngine::updateSpellsUnder() {
int sx = (newx / 2 + 6);
int sy = (newy / 2 + 10);
- unsigned int *temp = (uint32 *)_clipBg->getBasePtr(sx, sy);
- unsigned int dq = *temp;
+ uint32 *temp = (uint32 *)_clipBg->getBasePtr(sx, sy);
+ uint32 dq = *temp;
if (dq == 0) {
_npcInfo[f].x = newx;
@@ -2200,8 +2200,8 @@ void GriffonEngine::updateSpellsUnder() {
int sx = (xloc / 2 + 4);
int sy = (yloc / 2 + 8);
- unsigned int *temp = (uint32 *)_clipBg->getBasePtr(sx, sy);
- unsigned int dq = *temp;
+ uint32 *temp = (uint32 *)_clipBg->getBasePtr(sx, sy);
+ uint32 dq = *temp;
if (dq > 1000 && x > 4)
_spellInfo[i].legalive[f] = x;