forked from github/server
commit
9160791ce1
|
@ -2768,9 +2768,6 @@ msgstr "\"$unit($unit) in $region($region): '$order($command)' - Die Einheit geh
|
||||||
msgid "error322"
|
msgid "error322"
|
||||||
msgstr "\"$unit($unit) in $region($region): '$order($command)' - Nur Schiffe gleicher Bauart können einen Konvoi bilden.\""
|
msgstr "\"$unit($unit) in $region($region): '$order($command)' - Nur Schiffe gleicher Bauart können einen Konvoi bilden.\""
|
||||||
|
|
||||||
msgid "error328"
|
|
||||||
msgstr "\"$unit($unit) in $region($region): '$order($command)' - Nur Schiffe an der selben Küste können einen Konvoi bilden.\""
|
|
||||||
|
|
||||||
msgid "error323"
|
msgid "error323"
|
||||||
msgstr "\"$unit($unit) in $region($region): '$order($command)' - Das Schiff ist verzaubert.\""
|
msgstr "\"$unit($unit) in $region($region): '$order($command)' - Das Schiff ist verzaubert.\""
|
||||||
|
|
||||||
|
|
|
@ -41,8 +41,8 @@ function test_destroy_is_long()
|
||||||
local u = unit.create(faction.create("human", "one@example.com", "de"), r1, 10)
|
local u = unit.create(faction.create("human", "one@example.com", "de"), r1, 10)
|
||||||
u.building = building.create(u.region, "castle")
|
u.building = building.create(u.region, "castle")
|
||||||
u:clear_orders()
|
u:clear_orders()
|
||||||
u:add_order("LERNE Unterhaltung")
|
|
||||||
u:add_order("ZERSTOERE " .. itoa36(u.building.id))
|
u:add_order("ZERSTOERE " .. itoa36(u.building.id))
|
||||||
|
u:add_order("LERNE Unterhaltung")
|
||||||
process_orders()
|
process_orders()
|
||||||
assert_equal(0, u:get_skill("entertainment"))
|
assert_equal(0, u:get_skill("entertainment"))
|
||||||
assert_equal(nil, u.building)
|
assert_equal(nil, u.building)
|
||||||
|
|
|
@ -796,6 +796,9 @@ static void give_all_items(unit *u, unit *u2, order *ord) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
cmistake(u, ord, 123, MSG_COMMERCE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3091,14 +3091,7 @@ void update_long_order(unit * u)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (kwd > thiskwd) {
|
|
||||||
/* swap out thisorder for the new one */
|
|
||||||
cmistake(u, u->thisorder, 52, MSG_EVENT);
|
|
||||||
set_order(&u->thisorder, copy_order(ord));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
cmistake(u, ord, 52, MSG_EVENT);
|
cmistake(u, ord, 52, MSG_EVENT);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue