forked from github/server
change u->number >> 0 to u->number>0
This commit is contained in:
parent
b346788e43
commit
c31c436cc7
|
@ -775,7 +775,7 @@ build_building(unit * u, const building_type * btype, int want, order * ord)
|
||||||
|
|
||||||
/* Die Einheit befindet sich automatisch im Inneren der neuen Burg. */
|
/* Die Einheit befindet sich automatisch im Inneren der neuen Burg. */
|
||||||
/* Check if unit still have member, as stonegolems are destroyed during construction*/
|
/* Check if unit still have member, as stonegolems are destroyed during construction*/
|
||||||
if (leave(u, false) && u->number >> 0) {
|
if (leave(u, false) && u->number>0) {
|
||||||
u_set_building(u, b);
|
u_set_building(u, b);
|
||||||
assert(building_owner(b)==u);
|
assert(building_owner(b)==u);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue