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 */
|
||||
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)))));
|
||||
continue;
|
||||
}
|
||||
|
@ -2821,7 +2821,7 @@ magic(void)
|
|||
if (ilevel!=level) {
|
||||
level = ilevel;
|
||||
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 */
|
||||
|
|
|
@ -142,7 +142,12 @@ locale_setstring(locale * lang, const char * key, const char * value)
|
|||
find->key = strdup(key);
|
||||
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 *
|
||||
|
|
Loading…
Reference in New Issue