Fix skull blink

This commit is contained in:
Henrique Santiago 2013-01-17 18:57:03 +00:00
parent 7e52c4e449
commit 6ad7269e5a
1 changed files with 12 additions and 12 deletions

View File

@ -49,30 +49,30 @@ function getSkullImagePath(skullId)
end
function getShieldImagePathAndBlink(shieldId)
local path
local path, blink
if shieldId == ShieldWhiteYellow then
path = 'icons/shield_yellow_white.png', false
path, blink = 'icons/shield_yellow_white.png', false
elseif shieldId == ShieldWhiteBlue then
path = 'icons/shield_blue_white.png', false
path, blink = 'icons/shield_blue_white.png', false
elseif shieldId == ShieldBlue then
path = 'icons/shield_blue.png', false
path, blink = 'icons/shield_blue.png', false
elseif shieldId == ShieldYellow then
path = 'icons/shield_yellow.png', false
path, blink = 'icons/shield_yellow.png', false
elseif shieldId == ShieldBlueSharedExp then
path = 'icons/shield_blue_shared.png', false
path, blink = 'icons/shield_blue_shared.png', false
elseif shieldId == ShieldYellowSharedExp then
path = 'icons/shield_yellow_shared.png', false
path, blink = 'icons/shield_yellow_shared.png', false
elseif shieldId == ShieldBlueNoSharedExpBlink then
path = 'icons/shield_blue_not_shared.png', true
path, blink = 'icons/shield_blue_not_shared.png', true
elseif shieldId == ShieldYellowNoSharedExpBlink then
path = 'icons/shield_yellow_not_shared.png', true
path, blink = 'icons/shield_yellow_not_shared.png', true
elseif shieldId == ShieldBlueNoSharedExp then
path = 'icons/shield_blue_not_shared.png', false
path, blink = 'icons/shield_blue_not_shared.png', false
elseif shieldId == ShieldYellowNoSharedExp then
path = 'icons/shield_yellow_not_shared.png', false
path, blink = 'icons/shield_yellow_not_shared.png', false
end
path = resolvepath(path)
return path
return path, blink
end
function getEmblemImagePath(emblemId)