forked from github/server
tippfehler neue zaubermessages
This commit is contained in:
parent
f6fa9bcbb3
commit
b78b840cdd
|
@ -2810,7 +2810,7 @@ magic(void)
|
||||||
}
|
}
|
||||||
if (range > 1024) { /* (2^10) weiter als 10 Regionen entfernt */
|
if (range > 1024) { /* (2^10) weiter als 10 Regionen entfernt */
|
||||||
ADDMSG(&u->faction->msgs, msg_message("spellfail::nolevel",
|
ADDMSG(&u->faction->msgs, msg_message("spellfail::nolevel",
|
||||||
"mage region order target", u, u->region, so->s,
|
"mage region command target", u, u->region, so->s,
|
||||||
gc_add(strdup(regionid(target_r)))));
|
gc_add(strdup(regionid(target_r)))));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -2821,7 +2821,7 @@ magic(void)
|
||||||
if (ilevel!=level) {
|
if (ilevel!=level) {
|
||||||
level = ilevel;
|
level = ilevel;
|
||||||
ADDMSG(&u->faction->msgs, msg_message("spellfail::nolevel",
|
ADDMSG(&u->faction->msgs, msg_message("spellfail::nolevel",
|
||||||
"mage region order", u, u->region, so->s));
|
"mage region command", u, u->region, so->s));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Vertrautenmagie */
|
/* Vertrautenmagie */
|
||||||
|
|
|
@ -142,7 +142,12 @@ locale_setstring(locale * lang, const char * key, const char * value)
|
||||||
find->key = strdup(key);
|
find->key = strdup(key);
|
||||||
find->str = strdup(value);
|
find->str = strdup(value);
|
||||||
}
|
}
|
||||||
else assert(!strcmp(find->str, value) || !"duplicate string for key");
|
else {
|
||||||
|
if (strcmp(find->str, value)==0) {
|
||||||
|
log_error(("Duplicate key %s for '%s' and '%s'\n", key, value, find->str));
|
||||||
|
}
|
||||||
|
assert(!strcmp(find->str, value) || !"duplicate string for key");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
|
|
Loading…
Reference in New Issue