fix an assert that was too picky

This commit is contained in:
Enno Rehling 2012-05-18 02:08:29 +02:00
parent 775e8edae1
commit ad05ec8c53
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ ship *leftship(const unit * u)
void u_set_building(unit * u, building * b)
{
assert(b && !u->building); /* you must leave first */
assert(!u->building); /* you must leave first */
u->building = b;
if (b && !b->_owner) {
building_set_owner(b, u);