Commit: 0a9b3b44a7fbdd7d017b8d4287a951531d573a04 Trac URL: http://developer.wz2100.net/changeset/0a9b3b44a7fbdd7d017b8d4287a951531d573a04
Author: Cyp <c...@wz2100.net> Date: Fri Nov 19 15:25:31 2010 +0100 Fix broken check for giving too many trucks to a player. Caused desynchs due to players not agreeing who owned what. The check against selectedPlayer was incorrect, it caused clients with max trucks + 1 to not believe anyone could give trucks to anyone else. Introduced in e6cd09968b23f0d7941cc6f15569fbe8c8ef8457. Changelog: Really fix truck limit when giving trucks. src/droid.c | 38 ++++++++++++++++++++++++++++++-------- 1 files changed, 30 insertions(+), 8 deletions(-) ------------------------- ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Warzone2100-commits mailing list Warzone2100-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-commits