MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003090Spring engineLuapublic2012-05-14 19:322012-05-16 01:45
Reporterjseah 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version88.0 
Target VersionFixed in Version89.0 
Summary0003090: AllowWeaponTarget does not work with multiple gadgets
DescriptionGadget A returns true
Gadget B returns false
Unit still fires.

This is a problem because gadgets will return true by default. (don't want to block firing)
Thus only one gadget can use AllowWeaponTarget in a mod.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008698)
Rafal99 (reporter)
2012-05-15 05:49

The issue is that in default gadget handler (gadgets.lua) callins AllowWeaponTargetCheck and AllowWeaponTarget return false only if ALL gadgets return false.
While all other AllowXYZ callins return false even if ONLY ONE gadget returns false.
So there is inconsistency, no idea if it is intended and why.

Also see here:
http://code.google.com/p/zero-k/source/detail?r=6526 [^]

- Issue History
Date Modified Username Field Change
2012-05-14 19:32 jseah New Issue
2012-05-15 05:49 Rafal99 Note Added: 0008698
2012-05-16 01:45 Kloot Status new => resolved
2012-05-16 01:45 Kloot Fixed in Version => 89.0
2012-05-16 01:45 Kloot Resolution open => fixed
2012-05-16 01:45 Kloot Assigned To => Kloot


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker