Hi,

I found some stupid bugs in code (physics and mathematics): use of "== 0" (or 
"!= 0") instead of EgalZero. Please, use EgalZero with float/double 
variables.

It "looks like" this commit fix the crash about Gnu launcher.

Information about the (fixed?) "crash": m_last_move isn't initialised (value 
like 30034390 instead of 83489) so the computation of new position take 
*long* time (like unlimited time :-)).

Haypo

----------  Message transmis  ----------

Subject: [Wormux-cvs] r288 - in /trunk/src: object/physics.cpp 
tool/math_tools.cpp
Date: Lundi 16 Janvier 2006 02:12
From: Victor STINNER <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Author: haypo
Date: Mon Jan 16 02:12:02 2006
New Revision: 288

URL: http://svn.gna.org/viewcvs/wormux?rev=288&view=rev
Log:
Small bugfixes around compare double to zero (use EgalZero and not ==
 comparaison).

Modified:
    trunk/src/object/physics.cpp
    trunk/src/tool/math_tools.cpp
-- 
Victor Stinner - étudiant à l'UTBM (Belfort, France)
http://www.haypocalc.com/wiki/Victor_Stinner

Répondre à