-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
A few minor code issues, none of which affect the user:
mobkit.get_box_displace_cols(), line 397-398
local zsgn = sign(vec.z)
local xsgn = sign(xoff)
The local is not necessary here, as the variables were declared above (or, rename these variables.)
mobkit.hq_aqua_attack()
"local tyaw" is defined twice, lines 781 and 811
"local yaw" is defined twice, lines 793 and 813
aqua_radar_dumb()
"local ok,h" appears twice, lines 693 and 702
mobkit.physics()
On line 688, "colinfo" is used without being declared, therefore it's global. Adding local colinfo = self.colinfo above will fix the problem.
mobkit.get_next_waypoint_fast()
Line 169, "liq" has not been declared (but "height" and "pos2" have)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working