bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Re: What does this function do?


From: Jon Kinsey
Subject: [Bug-gnubg] Re: What does this function do?
Date: Mon, 26 Apr 2004 09:36:30 +0100
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Øystein Johansen wrote:

Øystein Johansen wrote:
| Hi,
|
| in /board3d/drawboard3d.c there is a function called drawDice2() line
| 3678 ff.
|
| This function sometimes telle me:
| no value on dice?
|
| I see the if statment in the code in this function, but I can't work out
| what it does.

The code is a bit dodgy on working out where the dice are/what value they have (especially when the dice are off the board/below the board). I added this test message to make sure it doesn't go wrong...

I've found out when this happens! It happens when there is a doubling
decision on the board, and I then press the 'next' button in the game
record.

Have you got the latest code? I fixed a similar problem recently and couldn't reproduce this immediately.

Jon

Ps. I could remove the test message but it does show up little problems with the dice number code.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]