[svn] Inventory fails with lua error

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

[svn] Inventory fails with lua error

#1 Post by Noel »

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.

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 
If it makes any difference, I've got the key bindings remapped to the old roguelike keys (my fingers think in vi).

Post Reply