ICB: Fix compilation on AmigaOS 4

This commit is contained in:
Cameron Cawley 2020-12-27 12:02:44 +00:00
parent 6200935007
commit cda348f885
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ CpxGlobalScriptVariables g_globalScriptVariables;
// Information for the script program stack
#define STACK_SIZE 10 // The size of the stack
int stack[STACK_SIZE]; // The current stack
int32 stack[STACK_SIZE]; // The current stack
int stackPointer = 0; // Position within stack
#define _SCRIPT_ENGINE_ERROR(mess) Fatal_error("Script engine error\nObject %s\nScript %s\nMessage %s", object->GetName(), scriptSourceName, mess)

View File

@ -708,7 +708,7 @@ void _set::Init_base_bitmap_buffers() {
decoder.ReadImage(ptr, bg_buffer_id);
// find the start of the weather data
int32 *weatherPtr = (int *)(bgPtr + shadowTable[1]);
int32 *weatherPtr = (int32 *)(bgPtr + shadowTable[1]);
InitWeather(*(weatherPtr), *(weatherPtr + 1), *(weatherPtr + 2), *(weatherPtr + 3), *(weatherPtr + 4), *(weatherPtr + 5));