mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Initialized many variables
Fix for enemy invasions and reinforcements git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1192 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+2
-2
@@ -541,7 +541,7 @@ void PasteStructure2( UINT32 iMapIndex )
|
||||
//
|
||||
void PasteStructureCommon( UINT32 iMapIndex )
|
||||
{
|
||||
BOOLEAN fDoPaste = FALSE;
|
||||
// BOOLEAN fDoPaste = FALSE;
|
||||
UINT32 fHeadType;
|
||||
UINT16 usUseIndex;
|
||||
UINT16 usUseObjIndex;
|
||||
@@ -1181,13 +1181,13 @@ void RaiseWorldLand( )
|
||||
if (pTileElement->fType==FIRSTCLIFF)
|
||||
{
|
||||
fSomethingRaised = TRUE;
|
||||
usIndex=pStruct->usIndex;
|
||||
// DebugMsg(TOPIC_JA2,DBG_LEVEL_3,String("Cliff found at count=%d",cnt));
|
||||
if( pTileElement->ubNumberOfTiles > 1 )
|
||||
{
|
||||
// DebugMsg(TOPIC_JA2,DBG_LEVEL_3,String("Cliff has %d children", pTileElement->ubNumberOfTiles));
|
||||
for (ubLoop = 0; ubLoop < pTileElement->ubNumberOfTiles; ubLoop++)
|
||||
{
|
||||
usIndex=pStruct->usIndex;
|
||||
// need means to turn land raising on and off based on the tile ID and the offset in the
|
||||
// tile database when reading into the mapsystem
|
||||
// turning off of land raising can only be done
|
||||
|
||||
Reference in New Issue
Block a user