On Sun, Dec 18, 2011 at 6:44 PM, <[email protected]> wrote:
> Branch: refs/heads/master
> Home: https://github.com/Warzone2100/warzone2100
>
> Commit: 579e1502cb20cb4ffdd1b669837ee921a6deb2fe
>
> https://github.com/Warzone2100/warzone2100/commit/579e1502cb20cb4ffdd1b669837ee921a6deb2fe
> Author: Per Inge Mathisen <[email protected]>
> Date: 2011-12-18 (Sun, 18 Dec 2011)
>
> Changed paths:
> M src/ai.cpp
> M src/projectile.cpp
> M src/stats.cpp
> M src/stats.h
> M src/statsdef.h
>
> Log Message:
> -----------
> Add possibility to balance weapons against body types, not just propulsion
> types.
>
>
Why was this added/needed, I don't really see a need for this ?
It also trashes memory since sizeof(asWeaponModifier) != sizeof(
asWeaponModifierBody)
I guess you can hack it via:
if (j <= SIZE_NUM)
{
asWeaponModifierBody[i][j] = 100;
}
to fix the issue, but, do whatever.
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev