diff --git a/Strategic/Game Init.cpp b/Strategic/Game Init.cpp index edf1b6e7..d3c01cb2 100644 --- a/Strategic/Game Init.cpp +++ b/Strategic/Game Init.cpp @@ -64,6 +64,7 @@ #include "ASD.h" // added by Flugente #include "MiniEvents.h" #include "Rebel Command.h" + #include "World Items.h" #endif #include "Vehicles.h" @@ -725,6 +726,9 @@ fFirstTimeInMapScreen = TRUE; // this is for the "mercs climbing down from a rope" animation, NOT Skyrider!! ResetHeliSeats( ); + TrashWorldItems(); + ClearAllWorldItems(); + #ifdef LUA_GAME_INIT_NEW_GAME LetLuaGameInit(0); diff --git a/Tactical/World Items.h b/Tactical/World Items.h index dd841f44..524b67b8 100644 --- a/Tactical/World Items.h +++ b/Tactical/World Items.h @@ -113,6 +113,7 @@ INT32 FindWorldItem( UINT16 usItem ); void LoadWorldItemsFromMap( INT8 **hBuffer, float dMajorMapVersion, int ubMinorMapVersion ); void SaveWorldItemsToMap(HWFILE fp, float dMajorMapVersion, UINT8 ubMinorMapVersion);//dnl ch33 150909 +void ClearAllWorldItems(); void TrashWorldItems(); typedef struct