Bas Wijnen <[EMAIL PROTECTED]> writes:

> I patched two functions, and this is indeed one of them:
> @@ -621,6 +621,8 @@ static Edge *best_road_to_road_spot(Node
>  
>                               for (j = 0; j < 3; j++) {
>                                       Edge *e2 = othernode->edges[j];
> +                                     if (e2 == NULL)
> +                                             continue;
>  
>                                       /* We need to look further,
>  * temporarily mark this edge as having our road on it. */
>                                       e->owner = my_player_num();
>
> Thanks,
> Bas

Ups, I somehow overlooked the first part of the patch and only saw the
second function. Never mind.

With the two functions patched it works fine so far. Could the same be
needed for boats? Does the ai even build boats?

MfG
        Goswin

PS: The server and editor (on save) crash on invalid games.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to