[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] bug 4705: cannot take/drop after set matchid
From: |
Martin Janke |
Subject: |
[Bug-gnubg] bug 4705: cannot take/drop after set matchid |
Date: |
17 Aug 2003 19:53:35 +0200 |
Hi,
when setting up a match which is in "double offered" state (like "set
matchid MBngAAAAAAAA"), it is not possible to continue with "take" or
"drop". (see also in bug tracker).
Without knowing much about programming and C I tried to have a look
myself. Here's how far I got:
- CommandTake calls LinkToDouble, which returns Null if there's no
previous record of type MOVE_DOUBLE. In this case (after SetMachtID),
the previous record is of type MOVE_SETBOARD, because SetMatchID calls
CommandSetBoard. Hence LinkToDouble returns Null and CommandTake also
returns before doing its job.
Hope that wasn't completely wrong and that it helps.
/Martin
--
Martin Janke <address@hidden>
- [Bug-gnubg] bug 4705: cannot take/drop after set matchid,
Martin Janke <=