{b28} Inventory bug in /engine/utils.lua 743 bad Argument

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
shaf
Wayist
Posts: 24
Joined: Mon Jun 06, 2011 1:23 pm

{b28} Inventory bug in /engine/utils.lua 743 bad Argument

#1 Post by shaf »

I Just identified Storm Giant Wraps (Fur lined Leather Wraps) whenever I open the Inventory Screen I get the error
/engine/utils.lua 743:bad Argument

Heres the section of code:

for i = 1, #list do
v = list
tv = type(v)
if tv == "string" then
if on_word then on_word_w, on_word_h = on_word(v, w, h) end
if on_word_w and on_word_h then
w, h = on_word_w, on_word_h
else
s:drawStringBlended(font, v, x + w, y + h, r, g, b, not no_alpha)
w = w + fontoldsize(font, v)
end
elseif tv == "boolean" then
w = 0
h = h + fh
max_lines = max_lines - 1
if max_lines <= 0 then break end
else

Post Reply