[svn] Inventory fails with lua error
Posted: Tue Oct 04, 2011 1:47 am
It's happened to me a couple of times since the redesign of the equipped display, latest in r4508. Trying to bring up inventory just gives an error. Save and restart doesn't change behavior, nor does recompile.
If it makes any difference, I've got the key bindings remapped to the old roguelike keys (my fingers think in vi).
Code: Select all
Lua Error: /mod/dialogs/ShowEquipInven.lua:167: attempt to perform arithmetic on field 'last_display_x' (a nil value)
At [C]:-1 __add
At /mod/dialogs/ShowEquipInven.lua:167 on_focus
At /engine/ui/Dialog.lua:457 setFocus
At /engine/ui/Dialog.lua:344 loadUI
At /mod/dialogs/ShowEquipInven.lua:54 init
At /engine/class.lua:64 new
At /engine/interface/ActorInventory.lua:249 showEquipInven
At /mod/class/Game.lua:1241
At /engine/KeyBind.lua:230