On Tue, Dec 30, 2008 at 12:36 PM, Dennis Schridde <devuran...@gmx.net> wrote:
> Am Dienstag, 30. Dezember 2008 05:04:33 schrieb Dennis Schridde:
>> Author: devurandom
>> Date: Tue Dec 30 05:04:32 2008
>> New Revision: 6521
>>
>> URL: http://svn.gna.org/viewcvs/warzone?rev=6521&view=rev
>> Log:
>> GCC complained in scriptfuncs.c:11467 that asParts[COMP_WEAPON] is an out
>> of bounds access, so define that to a greater value.
> I just see that this change may perhaps affect savegames. Further it may have
> been intended that the body parts do not include the weapon.
> So maybe the real fix has to go into the scripting function (originaly written
> by Troman, maybe he wants to have a look?), instead of into the definition of
> DROID_MAXCOMP (the one I changed).
> Can someone with more time please have a look at that, and if necessary revert
> this change and replace it by a correct one?

Body parts do not include weapons. Changing DROID_MAXCOMP is very, very bad.

BTW, what happened to following the commit rules? If this had been
posted to the list as usual, it would have been caught before it had
been committed.

 - Per

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to