public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Jim Kingdon <kingdon@panix.com>
To: xconq7@sources.redhat.com
Subject: annoying new bug in movement
Date: Fri, 05 Dec 2003 01:33:00 -0000	[thread overview]
Message-ID: <200312040634.hB46Y0v27711@panix5.panix.com> (raw)

In the standard game, if I have an infantry in a bomber, and the
infantry tries to move (using a movement key, like "h") out of the
bomber, sometimes it fails.  Control-e (disembark) seems to still
work, but of course that puts me in a different hex than where I
wanted to go.  This is fairly new, probably with the new path code.

By "fails" I mean that the ACP now shows "0/1" but the infantry hasn't
gone anywhere.  It doesn't even go into reserve mode, which I could
recover from.

Unless my work with the debugger was mistaken, I tracked it down to
path_get_next_move returning -1 (although that leaves me with a
followup question: why would the caller burn ACP rather than going
into reserve in that case).

And as for "sometimes", I haven't been able to figure out when and
when not.  Sometimes the bomber is over sea, sometimes land.

I'm not sure what to try next.  The path code is quite complicated....

             reply	other threads:[~2003-12-04  6:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05  1:33 Jim Kingdon [this message]
2003-12-06  1:34 ` Hans Ronne
2003-12-21 13:16 ` Eric McDonald
2003-12-23  4:40   ` Lincoln Peters
2003-12-23  4:54     ` Eric McDonald
2003-12-24 23:05       ` Lincoln Peters
2003-12-26  0:48         ` Eric McDonald
2003-12-26  2:06           ` Lincoln Peters
2003-12-31 19:10   ` Jim Kingdon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312040634.hB46Y0v27711@panix5.panix.com \
    --to=kingdon@panix.com \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).