Commit:     53da8ac0d0fa021c98ee6c71c22e371e12d20447

Trac URL:   
http://developer.wz2100.net/changeset/53da8ac0d0fa021c98ee6c71c22e371e12d20447

Author:     Cyp <[email protected]>
Date:       Thu Nov 18 10:49:05 2010 +0100

Fix desynch due to deltaGameTime not being deterministic during message 
processing.

Fixed by setting deltaGameTime = 0 in src/loop.c, after each game-state update.
Also, cleaned up lib/gamelib/gtime slightly.

To reproduce locally, start 2 clients, set one to 20x speed, the other to 
normal speed, and create droids on uneven terrain using the debug menu.

 lib/framework/wzapp_c.h |    5 ++++-
 lib/gamelib/gtime.c     |   26 ++++++++++++++------------
 lib/gamelib/gtime.h     |   15 +++++++--------
 src/loop.c              |    3 +++
 4 files changed, 28 insertions(+), 21 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to