From: Eric McDonald <mcdonald@phy.cmich.edu>
To: Hans Ronne <hronne@comhem.se>
Cc: xconq7@sources.redhat.com
Subject: Re: bug in infantry building a base which is already started
Date: Tue, 25 May 2004 22:14:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0405251801380.10663-100000@leon.phy.cmich.edu> (raw)
In-Reply-To: <l03130300bcd9681898ea@[212.181.162.155]>
On Tue, 25 May 2004, Hans Ronne wrote:
> Actually, what macro you use doesn't make any difference, i.e. the second
> infantry still refuses to join the build, and instead goes into passive
> waiting mode.
Really? I thought I saw it join in the building. Or, at least, it
moved inside the base and pretended to be doing something until
the base was done. :-) Once I saw that, I was satisfied that the
bug was fixed, and don't think that I actually went into survey
mode and clicked on the 2nd infantry. Sounds like maybe I should
have....
> However, if you override the view code by turning on see-all things work as
> expected, with either macro. So it seems that the core unit view code is
> the real culprit.
This is what I actually suspected too, but because there is all
this extra "->transport" and "->occupant" stuff in the "with_occs"
version of the macro, I thought there might be a problem in
there somewhere.
>The unit view code is unusual in that it uses a hash
> table and "nextinhash" rather than the usual "nexthere". The effect of
> see-all is to overide the use of "nextinhash".
Right. I noticed this when I was investigating the problem last
night. But, I was too tired to finish the deeper investigation,
and went for a shallower "fix". Probably I should have went to bed
instead of doing a CVS commit.
> I always had a bad feeling about the view code and its hash table, since I
> am not convinced that it works as expected in all circumstances. Maybe we
> should take a closer look at it.
I intend to, but probably not until the weekend. I have to finish
preparing a presentation for next week at work. I also have to
re-install Windows XP in its virtual machine, since I had a bit of
a "mishap" with it on Sunday night, which is why I didn't release
a new installer package then.
Eric
prev parent reply other threads:[~2004-05-25 22:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-24 3:45 Jim Kingdon
2004-05-24 20:00 ` Eric McDonald
2004-05-25 3:33 ` Eric McDonald
2004-05-25 21:53 ` Hans Ronne
2004-05-25 22:02 ` Hans Ronne
2004-05-25 22:27 ` Eric McDonald
2004-05-25 23:14 ` Hans Ronne
2004-05-25 23:28 ` Eric McDonald
2004-05-26 0:00 ` Hans Ronne
2004-05-26 21:00 ` Overwatch and Counterbattery? Elijah Meeks
2004-05-26 21:35 ` Hans Ronne
2004-05-27 2:17 ` Eric McDonald
2004-05-25 22:14 ` Eric McDonald [this message]
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=Pine.LNX.4.44.0405251801380.10663-100000@leon.phy.cmich.edu \
--to=mcdonald@phy.cmich.edu \
--cc=hronne@comhem.se \
--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).