mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix: compiler warnings
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8814 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -10678,11 +10678,10 @@ void HandleTurncoatAttempt( SOLDIERTYPE* pSoldier )
|
||||
// remember the target's ID
|
||||
prisonerdialoguetargetID = pSoldier->ubID;
|
||||
|
||||
CHAR16 buf[256];
|
||||
UINT8 ubCurrentProgress = CurrentPlayerProgressPercentage();
|
||||
|
||||
std::vector<std::pair<INT16, STR16> > dropdownvector_1;
|
||||
int cnt = 1;
|
||||
INT16 cnt = 1;
|
||||
|
||||
UINT8 chance = MercPtrs[gusSelectedSoldier]->GetTurncoatConvinctionChance( prisonerdialoguetargetID, cnt );
|
||||
swprintf( gTurncoatDropdownText[cnt-1], szTurncoatText[3], chance );
|
||||
|
||||
Reference in New Issue
Block a user