Changeset 1243

Show
Ignore:
Timestamp:
1/17/2010 3:49:39 PM (2 months ago)
Author:
vessper
Message:

17/01/2010 (1.14.0.1243)


- HQF: Fixed crash in Damage Analysis using a fit that has been imported into EveHQ from EFT but never opened

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/EveHQ.HQF/Classes/Engine.vb

    r1141 r1243  
    31563156                                If modData(1).EndsWith("a") = True Then 
    31573157                                    active = True 
    3158                                 End If 
    3159                                 Call Engine.AddDrone(currentship, sMod, CInt(modData(1).Substring(0, Len(modData(1)) - 1)), active) 
     3158                                    modData(1) = modData(1).TrimEnd("a".ToCharArray) 
     3159                                ElseIf modData(1).EndsWith("i") = True Then 
     3160                                    modData(1) = modData(1).TrimEnd("i".ToCharArray) 
     3161                                End If 
     3162                                Call Engine.AddDrone(currentship, sMod, CInt(modData(1)), active) 
    31603163                            Else 
    31613164                                Call Engine.AddDrone(currentship, sMod, 1, active)