forked from github/server
Astraltor-Bug: findspecialdirection("") liefert die erstbeste.
This commit is contained in:
parent
5441963633
commit
7a5b8e7bd4
|
@ -2804,6 +2804,7 @@ findspecialdirection(const region *r, char *token)
|
||||||
attrib *a;
|
attrib *a;
|
||||||
spec_direction *d;
|
spec_direction *d;
|
||||||
|
|
||||||
|
if (strlen(token)==0) return NULL;
|
||||||
for (a = a_find(r->attribs, &at_direction);a;a=a->nexttype) {
|
for (a = a_find(r->attribs, &at_direction);a;a=a->nexttype) {
|
||||||
d = (spec_direction *)(a->data.v);
|
d = (spec_direction *)(a->data.v);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue