[Freeciv-Dev] Re: (PR#9862) Nasty bug in look_for_charge()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#9862) Nasty bug in look_for_charge() |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Sun, 29 Aug 2004 13:04:09 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9862 >
On Sun, 29 Aug 2004, Per I. Mathisen wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9862 >
>
> > We (I) should perhaps audit all use of bitshift operators in the AI and
> > check if there are more of this kind of error.
>
> Yep. One more. Patch attached.
This should never happen. So I made it an assert, and of course it should
not be a return, but a continue.
- Per
|
|