forked from github/server
- Fix Godcurse... Soll das wirklich so sein?
This commit is contained in:
parent
6f0017da6f
commit
43024af07d
|
@ -116,7 +116,7 @@ curse_emptiness(void)
|
||||||
while (r!=NULL) {
|
while (r!=NULL) {
|
||||||
if (r->land && r->age>120 && !get_curse(r->attribs, ct)) {
|
if (r->land && r->age>120 && !get_curse(r->attribs, ct)) {
|
||||||
unit * u = r->units;
|
unit * u = r->units;
|
||||||
while (u && u->faction->no!=MONSTER_FACTION) u=u->next;
|
while (u && u->faction->no==MONSTER_FACTION) u=u->next;
|
||||||
if (u==NULL) {
|
if (u==NULL) {
|
||||||
curse * c = create_curse(NULL, &r->attribs, ct,
|
curse * c = create_curse(NULL, &r->attribs, ct,
|
||||||
100, 100, 0, 0);
|
100, 100, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue