Alles anzeigenJust a little thing im thinking about.
When you put all the bad or good affects in an array, why not using vector?
Everytime i see a fixed sized array, i see also the crying skids with errors because of this sizes. (extending array and/or the iteration of it).
Iterating and extending a vector will not produce such problems.
As i said, just a thing in my mind. (I'd not implemented it in my source for now, but i will change it, when i'll do it and show you how i dit this.)
Thanks anyaway! I think there much more of those multiple recalculations and would be nice to find them like this
The truth is, unfortunately i'm not that good in c++, many of the languages i'm good at are useless in the metin2 environment.. so i tried to make the modification as simple as possible to understand, even for the newbies.
I'm open to more appropriate approaches to the problem, if anyone is willing to improve it!
By using vector you mean doing like this?
Bitte melden Sie sich an, um dieses Bild zu sehen.