mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -299,9 +299,9 @@ BOOLEAN LoadSoldiersFromMap( INT8 **hBuffer )
|
||||
}
|
||||
if( fCowInSector )
|
||||
{
|
||||
UINT8 str[ 40 ];
|
||||
sprintf( (char *)str, "Sounds\\\\cowmoo%d.wav", Random( 3 ) + 1 );
|
||||
PlayJA2SampleFromFile( (STR8) str, RATE_11025, MIDVOLUME, 1, MIDDLEPAN );
|
||||
CHAR8 str[ 40 ];
|
||||
sprintf( str, "Sounds\\\\cowmoo%d.wav", Random( 3 ) + 1 );
|
||||
PlayJA2SampleFromFile( str, RATE_11025, MIDVOLUME, 1, MIDDLEPAN );
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
@@ -1865,7 +1865,7 @@ void AddSoldierInitListBloodcats()
|
||||
ubSectorID != SEC_I16 && ubSectorID != SEC_N5 )
|
||||
{
|
||||
#ifdef JA2BETAVERSION
|
||||
wchar_t str[200];
|
||||
CHAR16 str[200];
|
||||
swprintf( str, L"Table specifies that there are %d bloodcat placements in sector %c%d, but the map actually has %d bloodcat placements. Map value takes precedence. KM,LC:1",
|
||||
pSector->bBloodCatPlacements, gWorldSectorY + 'A' - 1, gWorldSectorX, bBloodCatPlacements );
|
||||
DoScreenIndependantMessageBox( str, MSG_BOX_FLAG_OK, NULL );
|
||||
@@ -2101,7 +2101,7 @@ BOOLEAN ValidateSoldierInitLinks( UINT8 ubCode )
|
||||
{
|
||||
SOLDIERINITNODE *curr;
|
||||
UINT32 uiNumInvalids = 0;
|
||||
wchar_t str[512];
|
||||
CHAR16 str[512];
|
||||
curr = gSoldierInitHead;
|
||||
while( curr )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user