changeset 4077 | d4d440dd8925 |
parent 3585 | 43461f26b729 |
child 4344 | 7e123fec5b0b |
--- a/depot.c Tue Jun 27 18:27:58 2006 +0000 +++ b/depot.c Tue Jun 27 21:25:53 2006 +0000 @@ -41,8 +41,7 @@ Depot *depot; FOR_ALL_DEPOTS(depot) { - if (depot->xy == tile) - return depot; + if (depot->xy == tile) return depot; } return NULL; @@ -67,8 +66,7 @@ } /* Check if we can add a block to the pool */ - if (AddBlockToPool(&_depot_pool)) - return AllocateDepot(); + if (AddBlockToPool(&_depot_pool)) return AllocateDepot(); return NULL; }