mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
Make newSurfaceTypes static
This commit is contained in:
parent
836d377ff0
commit
d0eb3e954d
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ CollisionHeader* getGraveyardCollisionHeader() {
|
||||||
* into graves. NTSC 1.0's graveyard has 31 surface types, while later versions have 32. The contents of the lists
|
* into graves. NTSC 1.0's graveyard has 31 surface types, while later versions have 32. The contents of the lists
|
||||||
* are shifted somewhat between versions, so to be safe we just create an extra slot that is not in any version.
|
* are shifted somewhat between versions, so to be safe we just create an extra slot that is not in any version.
|
||||||
*/
|
*/
|
||||||
SurfaceType newSurfaceTypes[33];
|
static SurfaceType newSurfaceTypes[33];
|
||||||
memcpy(newSurfaceTypes, graveyardColHeader->surfaceTypeList, sizeof(SurfaceType) * 33);
|
memcpy(newSurfaceTypes, graveyardColHeader->surfaceTypeList, sizeof(SurfaceType) * 33);
|
||||||
newSurfaceTypes[CUSTOM_SURFACE_TYPE].data[0] = 0x24000004;
|
newSurfaceTypes[CUSTOM_SURFACE_TYPE].data[0] = 0x24000004;
|
||||||
newSurfaceTypes[CUSTOM_SURFACE_TYPE].data[1] = 0xFC8;
|
newSurfaceTypes[CUSTOM_SURFACE_TYPE].data[1] = 0xFC8;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue