diff options
author | Eugene Sandulenko | 2016-05-23 18:30:54 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-23 18:30:54 +0200 |
commit | 70ffcf91f5538765847f373ce2acbc611aec77c5 (patch) | |
tree | 19b5e7e3d211c18119a77304688fd7e5a58eedad | |
parent | 5a8eb1c9d699f69bfa0406a2d80f7576e7eb5136 (diff) | |
download | scummvm-rg350-70ffcf91f5538765847f373ce2acbc611aec77c5.tar.gz scummvm-rg350-70ffcf91f5538765847f373ce2acbc611aec77c5.tar.bz2 scummvm-rg350-70ffcf91f5538765847f373ce2acbc611aec77c5.zip |
SCUMM HE: Fixes for Amiga port
-rw-r--r-- | engines/scumm/he/moonbase/ai_main.cpp | 4 | ||||
-rw-r--r-- | engines/scumm/he/moonbase/ai_main.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/he/moonbase/ai_main.cpp b/engines/scumm/he/moonbase/ai_main.cpp index 6844d2f7dd..934c74e413 100644 --- a/engines/scumm/he/moonbase/ai_main.cpp +++ b/engines/scumm/he/moonbase/ai_main.cpp @@ -211,7 +211,7 @@ void cleanUpAI() { } } -void setAIType(const int paramCount, const int *params) { +void setAIType(const int paramCount, const int32 *params) { if (AItype[params[AI_TYPE_PLAYER_NUM]]) { delete AItype[params[AI_TYPE_PLAYER_NUM]]; AItype[params[AI_TYPE_PLAYER_NUM]] = NULL; @@ -228,7 +228,7 @@ void setAIType(const int paramCount, const int *params) { warning("AI for player %d is %s", params[AI_TYPE_PLAYER_NUM], AItype[params[AI_TYPE_PLAYER_NUM]]->getNameString()); } -int masterControlProgram(const int paramCount, const int *params) { +int masterControlProgram(const int paramCount, const int32 *params) { static Tree *myTree; static int index; diff --git a/engines/scumm/he/moonbase/ai_main.h b/engines/scumm/he/moonbase/ai_main.h index 7b5ad3ca40..8952cb5c0d 100644 --- a/engines/scumm/he/moonbase/ai_main.h +++ b/engines/scumm/he/moonbase/ai_main.h @@ -88,8 +88,8 @@ static int energyHogType = 0; void resetAI(ScummEngine_v90he *vm); void cleanUpAI(); -void setAIType(const int paramCount, const int *params); -int masterControlProgram(const int paramCount, const int *params); +void setAIType(const int paramCount, const int32 *params); +int masterControlProgram(const int paramCount, const int32 *params); int chooseBehavior(); int chooseTarget(int behavior); |