diff options
| author | Jonas Ask | 2009-10-28 02:09:05 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-10-28 02:09:05 +0000 |
| commit | 7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4 (patch) | |
| tree | 6341cb3ccf3d4cc88200ab9f0138cb3d4f5d209d /Constructions.cpp | |
| parent | ed753c376b5aba0529417e099ae3b32e0e6dac8f (diff) | |
| download | stonesense-7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4.tar.gz stonesense-7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4.tar.bz2 stonesense-7580d6631d01a9de1f47bbdbc48cdf48c6ffa1e4.tar.xz | |
Fixed a major memory leak in MapLoading.cpp.
Fixed a small crash sometimes occurring in Constructions.cpp.
Diffstat (limited to 'Constructions.cpp')
| -rw-r--r-- | Constructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Constructions.cpp b/Constructions.cpp index 5c463ec..5738c14 100644 --- a/Constructions.cpp +++ b/Constructions.cpp @@ -6,7 +6,7 @@ void changeConstructionMaterials(WorldSegment* segment, Block* b, vector<t_construction>* allConstructions){
//find construction
- uint32_t i;
+ int32_t i;
t_construction* c;
t_construction* construct = 0;
i = (uint32_t) allConstructions->size();
|
