#3506: LASSAT issue in eventStructureReady()
-------------------------------------+-------------------------------------
Reporter: aubergine | Owner: per
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: JavaScript Issues | Version: 3.1 beta10
Keywords: rules, lassat, | Blocked By:
eventstructureready, stattype | Operating System: Mac OS 10.5
Blocking: | (intel)
-------------------------------------+-------------------------------------
This problem is found in rules.js, but I assume it will affect AI scripts
as well?
{{{
function eventStructureReady(struct) {
// struct.stattype == 6
// LASSAT == 999
}
}}}
Either the LASSAT constant's wrong or the stattype of the passed in object
is wrong.
Most AI scripts I've seen don't check what stattype the struct is hence
this issue probably not being reported before.
--
Ticket URL: <http://developer.wz2100.net/ticket/3506>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project