mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 10:22:48 +01:00
- fix ProcessLumps not processing LUMP_CAR_MODELS
This commit is contained in:
parent
0f4666ae39
commit
2ce93b0265
@ -305,6 +305,12 @@ void ProcessLumps(char *lump_ptr, int lump_size)
|
|||||||
printf("LUMP_JUNCTIONS: size: %d\n", size);
|
printf("LUMP_JUNCTIONS: size: %d\n", size);
|
||||||
ProcessJunctionsLump((char *)ptr, size);
|
ProcessJunctionsLump((char *)ptr, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (lump_type == LUMP_CAR_MODELS)
|
||||||
|
{
|
||||||
|
printf("LUMP_CAR_MODELS: size: %d\n", size);
|
||||||
|
car_models_lump = (char*)ptr;
|
||||||
|
}
|
||||||
else if (lump_type == LUMP_MODELS)
|
else if (lump_type == LUMP_MODELS)
|
||||||
{
|
{
|
||||||
printf("LUMP_MODELS: size: %d\n", size);
|
printf("LUMP_MODELS: size: %d\n", size);
|
||||||
|
@ -299,6 +299,8 @@ int ProcessCarModelLump(char *lump_ptr, int lump_size)
|
|||||||
specLoadBuffer = mallocptr - 2048; // [A]
|
specLoadBuffer = mallocptr - 2048; // [A]
|
||||||
|
|
||||||
buildNewCars();
|
buildNewCars();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef OVERMAP_H
|
#ifndef OVERMAP_H
|
||||||
#define OVERMAP_H
|
#define OVERMAP_H
|
||||||
|
|
||||||
unsigned short civ_clut[8][32][6];
|
extern unsigned short civ_clut[8][32][6];
|
||||||
|
|
||||||
extern void DrawTargetBlip(VECTOR *pos, unsigned char r, unsigned char g, unsigned char b, unsigned long flags); // 0x00016280
|
extern void DrawTargetBlip(VECTOR *pos, unsigned char r, unsigned char g, unsigned char b, unsigned long flags); // 0x00016280
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user