- ticket #187: fixed an issue on comparing pets on the player detail window.

- fixed icons for heal displays using black or white background.
This commit is contained in:
Tercio
2017-05-05 11:24:01 -03:00
parent 68fe8a60a8
commit 618c22acf8
3 changed files with 7 additions and 6 deletions
+5 -4
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -2764,7 +2764,7 @@ function gump:CriaJanelaInfo()
local player_2 = other_players [1]
local spell = player_2 and player_2.spells._ActorTable [spellid]
if (not spell and petName) then
if (not spell and petName and player_2) then
for _petIndex, _petName in _ipairs (player_2:Pets()) do
if (_petName:gsub (" <.*", "") == petName:gsub (" <.*", "")) then
local petActor = info.instancia.showing [player.tipo]:PegarCombatente (nil, _petName)
@@ -2840,7 +2840,7 @@ function gump:CriaJanelaInfo()
local player_3 = other_players [2]
local spell = player_3 and player_3.spells._ActorTable [spellid]
if (not spell and petName) then
if (not spell and petName and player_3) then
for _petIndex, _petName in _ipairs (player_3:Pets()) do
if (_petName:gsub (" <.*", "") == petName:gsub (" <.*", "")) then
local petActor = info.instancia.showing [player.tipo]:PegarCombatente (nil, _petName)
Binary file not shown.