summaryrefslogtreecommitdiff
path: root/ContentLoader.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-01-08 02:21:08 +0100
committerPetr Mrázek2012-01-08 02:21:08 +0100
commit92627e39cb3502812cd5a131716d3d1da8ef625a (patch)
treea72b9fd22206ee0eec62b06ec7bcaaf8833a56cc /ContentLoader.cpp
parent545b2730ed137935643778f1b8ba115ae11c50a2 (diff)
downloadstonesense-92627e39cb3502812cd5a131716d3d1da8ef625a.tar.gz
stonesense-92627e39cb3502812cd5a131716d3d1da8ef625a.tar.bz2
stonesense-92627e39cb3502812cd5a131716d3d1da8ef625a.tar.xz
Buildings aren't a module anymore.
Diffstat (limited to 'ContentLoader.cpp')
-rw-r--r--ContentLoader.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/ContentLoader.cpp b/ContentLoader.cpp
index 6493928..3150468 100644
--- a/ContentLoader.cpp
+++ b/ContentLoader.cpp
@@ -126,18 +126,7 @@ bool ContentLoader::Load( DFHack::Core& DF){
config.skipOrganicMats = true;
}
}
- try
- {
- Bld = DF.getBuildings();
- }
- catch(exception &e)
- {
- WriteErr("DFhack exeption: %s\n", e.what());
- }
- if(Bld)
- {
- Bld->ReadCustomWorkshopTypes(custom_workshop_types);
- }
+ Buildings::ReadCustomWorkshopTypes(custom_workshop_types);
try
{
contentLoader->MemInfo = DF.vinfo;