diff options
| author | Jonas Ask | 2009-10-20 12:59:12 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-10-20 12:59:12 +0000 |
| commit | 1406aeacb4000ca62b6e86f6fdb76a0a89f5e97a (patch) | |
| tree | a84bed265220280b7537fc549dc3c5cd3ec9f9d6 /GameBuildings.cpp | |
| parent | 9b1b95b33e4ba93a6ab7fed504d4bcf6e2abee9a (diff) | |
| download | stonesense-1406aeacb4000ca62b6e86f6fdb76a0a89f5e97a.tar.gz stonesense-1406aeacb4000ca62b6e86f6fdb76a0a89f5e97a.tar.bz2 stonesense-1406aeacb4000ca62b6e86f6fdb76a0a89f5e97a.tar.xz | |
Added zones to the list of buildings that can be airborne.
Removed ncb file from repository.
Created an ignore list.
Diffstat (limited to 'GameBuildings.cpp')
| -rw-r--r-- | GameBuildings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GameBuildings.cpp b/GameBuildings.cpp index 3628e43..b7dffce 100644 --- a/GameBuildings.cpp +++ b/GameBuildings.cpp @@ -266,8 +266,9 @@ bool BlockHasSuspendedBuilding(vector<t_building>* buildingList, Block* b){ if(b->x >= building->x1 && b->x <= building->x2)
if(b->y >= building->y1 && b->y <= building->y2)
return true;
-
}
+ if(building->type == BUILDINGTYPE_ZONE)
+ return true;
}
return false;
}
\ No newline at end of file |
