change u->number >> 0 to u->number>0

This commit is contained in:
TomBraun 2014-06-28 20:45:17 +02:00
parent b346788e43
commit c31c436cc7
1 changed files with 1 additions and 1 deletions

View File

@ -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. */
/* 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);
assert(building_owner(b)==u);
}