Jump to content

[patch][6614] Battlegroundab Merged Forloops


Recommended Posts

Posted

  • * What bug does the patch fix? What features does the patch add?
    it merged some forloops together
    * For which SubVersion revision was the patch created?
    6599
    * Is there a thread in the bug report section? If yes, please add a link to the thread.
    no
    * Who has been writing this patch? Please include either forum user names or email addresses.
    balrok

because there were 3 forloops which all iterated the same, i merged them together

patch http://mangos-files.eu/patches/?file=ab_merged_loops.patch

Posted

just note: always use ++expr; instead expr++; ++expr is more fast version

Real bug: who will be initilize uint8 team_points[2] to 0 and better use int for like local counters - memory used not important but access to uint8 more slow that for int ;)

Patch with chnages in [6614]. Thank you :)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use