Some small editor changes for compilation

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1054 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2007-07-15 13:13:00 +00:00
parent 089e08f202
commit a95882d50a
+3 -2
View File
@@ -2975,7 +2975,7 @@ void UpdateMercItemSlots()
{
if( gpSelected->pDetailedPlacement->ubProfile != NO_PROFILE )
{
memcpy( gpSelected->pDetailedPlacement->Inv, gpSelected->pSoldier->inv, sizeof( OBJECTTYPE ) * NUM_INV_SLOTS );
memcpy( &gpSelected->pDetailedPlacement->Inv, &gpSelected->pSoldier->inv, sizeof( OBJECTTYPE ) * NUM_INV_SLOTS );
}
for( x = 0; x < 9; x++ )
{
@@ -3669,7 +3669,8 @@ void PasteMercPlacement( INT32 iMapIndex )
if( gTempBasicPlacement.fDetailedPlacement )
{
// WDS - Clean up inventory handling
gTempDetailedPlacement = *gSaveBufferDetailedPlacement
// WANNE: Removed the following line, didn't compile
//gTempDetailedPlacement = *gSaveBufferDetailedPlacement;
}
else
{