MACHEN 3 WACHE
This commit is contained in:
Enno Rehling 2009-09-14 21:55:15 +00:00
parent 871088807a
commit 030832c20e
2 changed files with 2 additions and 3 deletions

View File

@ -954,10 +954,10 @@ build_building(unit * u, const building_type * btype, int want, order * ord)
btname = LOC(lang, btype->_name); btname = LOC(lang, btype->_name);
if (n-built <= 0) { if (want-built <= 0) {
/* gebäude fertig */ /* gebäude fertig */
new_order = default_order(lang); new_order = default_order(lang);
} else if (n!=INT_MAX) { } else if (want!=INT_MAX) {
/* reduzierte restgröße */ /* reduzierte restgröße */
const char * hasspace = strchr(btname, ' '); const char * hasspace = strchr(btname, ' ');
if (hasspace) { if (hasspace) {

View File

@ -842,7 +842,6 @@ can_leave(unit * u)
boolean boolean
leave(unit * u, boolean force) leave(unit * u, boolean force)
{ {
if (!force) { if (!force) {
if (!can_leave(u)) return false; if (!can_leave(u)) return false;
} }