Re: Vehicle WEAPON names no longer shows up [message #487439 is a reply to message #487407] |
Thu, 01 May 2014 01:28 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma:
|
General (5 Stars) |
|
|
But that still doesn't explain why you'd compare a non-sequential ID against the object count. String IDs are not, to my knowledge anyway, re-numbered when entries are deleted (or things referencing them would break if they were not also updated) so a list of IDs as follows;
1, 2, 6, 7, 10
would have a count of 5, so indexes 6, 7 and 10 would become inaccessible because they are > 5 (ignoring the MIN_ID bit for now). It still looks like a flaw to me...
[Updated on: Thu, 01 May 2014 01:28] Report message to a moderator
|
|
|