diff options
| author | Petr Mrázek | 2012-01-06 01:07:44 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-01-06 01:07:44 +0100 |
| commit | 545b2730ed137935643778f1b8ba115ae11c50a2 (patch) | |
| tree | d10d1acb64a9448816e3d076d02f98a33188265f /GameBuildings.cpp | |
| parent | 39a27d73e75b7ee22d93d31a9040322b0ceaa512 (diff) | |
| download | stonesense-545b2730ed137935643778f1b8ba115ae11c50a2.tar.gz stonesense-545b2730ed137935643778f1b8ba115ae11c50a2.tar.bz2 stonesense-545b2730ed137935643778f1b8ba115ae11c50a2.tar.xz | |
Remove GetCustomWorkshopType call.
Diffstat (limited to 'GameBuildings.cpp')
| -rw-r--r-- | GameBuildings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GameBuildings.cpp b/GameBuildings.cpp index 8f765fc..75c29dd 100644 --- a/GameBuildings.cpp +++ b/GameBuildings.cpp @@ -146,7 +146,7 @@ void MergeBuildingsToSegment(vector<t_building>* buildings, WorldSegment* segmen continue;
b->building.index = i;
b->building.info = tempbuilding;
- b->building.custom_building_type = contentLoader->Bld->GetCustomWorkshopType(tempbuilding);
+ b->building.custom_building_type = tempbuilding.custom_type;
}
}
}
|
