diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index aa1ab870e..5337fb314 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -9231,7 +9231,7 @@ static void G_CompileScripts(void) label = (char *)&sprite[0]; // V8: 16384*44/64 = 11264 V7: 4096*44/64 = 2816 labelcode = (intptr_t *)§or[0]; // V8: 4096*40/4 = 40960 V7: 1024*40/4 = 10240 - labeltype = (intptr_t *)&wall[0]; // V8: 16384*32/4 = 131072 V7: 8192*32/4 = 65536 + labeltype = (int32_t *)&wall[0]; // V8: 16384*32/4 = 131072 V7: 8192*32/4 = 65536 Bcorrectfilename(g_scriptNamePtr,0); // if we compile for a V7 engine wall[] should be used for label names since it's bigger diff --git a/polymer/eduke32/source/global.c b/polymer/eduke32/source/global.c index ea6318076..4d3709738 100644 --- a/polymer/eduke32/source/global.c +++ b/polymer/eduke32/source/global.c @@ -112,7 +112,8 @@ int32_t screenpeek; char ready2send; int32_t vel, svel, angvel, horiz, ototalclock, g_actorRespawnTime=768, g_itemRespawnTime=768, g_groupFileHandle; -intptr_t *g_scriptPtr,*insptr,*labelcode,*labeltype; +intptr_t *g_scriptPtr,*insptr,*labelcode; +int32_t *labeltype; int32_t g_numLabels,g_numDefaultLabels; intptr_t *actorscrptr[MAXTILES],*g_parsingActorPtr; char *label;