A few smallish bugs

Moderator: Moderator

Post Reply
Message
Author
Castler
Thalore
Posts: 153
Joined: Mon Mar 25, 2013 10:09 pm

A few smallish bugs

#1 Post by Castler »

First, in Projectile:makeProject, def.tg.talent.name always overrides def.tg.name. This means there's no easy way to do (for example) a "Storm of Blades" talent that creates multiple "throwing knife" projectiles. The code should instead favor def.tg.name if present (similarly to what it already does with def.tg.speed).

Second, if ActorProject:project is passed a function for its damtype parameter, it passes tg (a nonexistent global variable) to that function for its tg parameter. It looks like the intent is to pass t.

Third, ListColumns:setupInput inadequately clears the previous UI state. This can be seen in the default Birther.lua, which reuses a ListColumns display to display several different lists in a row. If you click on the item B in the first list, then when the second list is displayed, item B is highlighted, but the tooltip for the second list's item A is still shown. To fix this, add the following to the beginning of setupInput (duplicated from ListColumns:init):

Code: Select all

self.prev_sel = 0
self.mouse_pos = { x = 0, y = 0 }
Qi Daozei (QDZ) - an Oriental-themed fantasy game for T-Engine. ToME Tips - auto-generated spoilers for ToME.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: A few smallish bugs

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply