forked from github/server
seltsame konstrukte in der 2. welt mit strassen drin fuehren zu irrsinnigem crash, der 2 stunden debugging gebraucht hat
This commit is contained in:
parent
5c9e21f039
commit
a785e7c004
|
@ -444,9 +444,9 @@ b_nameroad(const border * b, const region * r, const struct faction * f, int gfl
|
|||
unused(f);
|
||||
if (gflags & GF_ARTICLE) {
|
||||
if (!(gflags & GF_DETAILED)) strcpy(buffer, "eine Straße");
|
||||
else if (terrain[rterrain(r)].roadreq==local) {
|
||||
else if (terrain[rterrain(r)].roadreq>=local) {
|
||||
int remote = (r!=b->to)?(rval & 0xFFFF):((rval>>16) & 0xFFFF);
|
||||
if (terrain[rterrain(r2)].roadreq==remote) {
|
||||
if (terrain[rterrain(r2)].roadreq>=remote) {
|
||||
strcpy(buffer, "eine Straße");
|
||||
} else {
|
||||
strcpy(buffer, "eine unvollständige Straße");
|
||||
|
|
Loading…
Reference in New Issue