Skip to content

Commit

Permalink
Fixed compile warnings left over from implementing issues X2Community…
Browse files Browse the repository at this point in the history
  • Loading branch information
Iridar committed Jun 16, 2021
1 parent 093701f commit e0ad22e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2420,7 +2420,6 @@ function bool IsMissionObjectiveItem()
/// ```
function int GetNumUpgradeSlots()
{
local Object ThisObj;
local XComLWTuple Tuple;
Tuple = new class'XComLWTuple';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,6 @@ private static function UpdateUnitState( XComGameState StartState, XComGameState
local X2WeaponUpgradeTemplate WeaponUpgradeTemplate;
local name ItemName;
local XComGameState_Item PrimaryWeapon;
local X2WeaponTemplate WeaponTemplate;
local array<name> WeaponUpgrades;
local int index;
local array<XComGameState_Item> BackpackItems;
Expand Down Expand Up @@ -1119,7 +1118,6 @@ private static function UpdateUnitState( XComGameState StartState, XComGameState

PrimaryWeapon = UnitState.GetPrimaryWeapon( );
PrimaryWeapon = XComGameState_Item( StartState.GetGameStateForObjectID( PrimaryWeapon.ObjectID ) );
WeaponTemplate = X2WeaponTemplate( PrimaryWeapon.GetMyTemplate( ) );
if (PrimaryWeapon.GetNumUpgradeSlots() > 0) // Single line for Issue #93
PrimaryWeapon.WipeUpgradeTemplates( );

Expand Down

0 comments on commit e0ad22e

Please sign in to comment.