Skip to content
Snippets Groups Projects
Commit 2a9385bc authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3789 51575b47-30f0-44d4-a5cc-537603b46e54
parent dde78874
No related branches found
No related tags found
No related merge requests found
......@@ -468,11 +468,11 @@ function _M:drawDialog(kind, actor_to_compare)
text3 = ""
end
if StatVal > player:getStat(stat) then
StatTxt = ("%s: #ff0000#%3d / %d#LAST#%s"):format(name, player:getStat(stat, nil, nil, true), player:getStat(stat), text3)
else
-- if StatVal > player:getStat(stat) then
-- StatTxt = ("%s: #ff0000#%3d / %d#LAST#%s"):format(name, player:getStat(stat, nil, nil, true), player:getStat(stat), text3)
-- else
StatTxt = ("%s: #00ff00#%3d / %d#LAST#%s"):format(name, player:getStat(stat, nil, nil, true), player:getStat(stat), text3)
end
-- end
self:mouseTooltip(tooltip, s:drawColorStringBlended(self.font, StatTxt, w, h, 255, 255, 255, true)) h = h + self.font_h
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment