diff --git a/GameVersion.cpp b/GameVersion.cpp index 46d5a347..6100928f 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" }; #else //RELEASE BUILD VERSION - INT16 zVersionLabel[256] = { L"Release v1.13.177" }; + INT16 zVersionLabel[256] = { L"Release v1.13.178" }; #endif diff --git a/JA2.vcproj b/JA2.vcproj index ddfa91a3..555e6047 100644 --- a/JA2.vcproj +++ b/JA2.vcproj @@ -43,7 +43,7 @@ %d\r\n", Weapon[cnt].sLocknLoadSound); FilePrintf(hFile,"\t\t%d\r\n", Weapon[cnt].bBurstAP); FilePrintf(hFile,"\t\t%d\r\n", Weapon[cnt].bAutofireShotsPerFiveAP); - FilePrintf(hFile,"\t\t%d\r\n", Weapon[cnt].ManualReloadAPs); + FilePrintf(hFile,"\t\t%d\r\n", Weapon[cnt].APsToReloadManually); FilePrintf(hFile,"\t\t%d\r\n", Weapon[cnt].ManualReloadSound); FilePrintf(hFile,"\t\r\n"); } diff --git a/TacticalAI/AI All.h b/TacticalAI/AI All.h index 95863a17..ce939c80 100644 --- a/TacticalAI/AI All.h +++ b/TacticalAI/AI All.h @@ -94,5 +94,6 @@ #include "Queen Command.h" #include "Lighting.h" #include "environment.h" +#include "Sound Control.h" #endif \ No newline at end of file diff --git a/TacticalAI/Attacks.cpp b/TacticalAI/Attacks.cpp index d0486267..be6c2238 100644 --- a/TacticalAI/Attacks.cpp +++ b/TacticalAI/Attacks.cpp @@ -1876,7 +1876,7 @@ INT8 TryToReload( SOLDIERTYPE * pSoldier ) DeductPoints(pSoldier, Weapon[Item[(pObj)->usItem].ubClassIndex].APsToReloadManually, 0); - //PlayJA2Sample( Weapon[ Item[pObj->usItem].ubClassIndex ].ManualReloadSound, RATE_11025, SoundVolume( HIGHVOLUME, pSoldier->sGridNo ), 1, SoundDir( pSoldier->sGridNo ) ); + PlayJA2Sample( Weapon[ Item[pObj->usItem].ubClassIndex ].ManualReloadSound, RATE_11025, SoundVolume( HIGHVOLUME, pSoldier->sGridNo ), 1, SoundDir( pSoldier->sGridNo ) ); return TRUE; } //