Fix segfault on start.

This commit is contained in:
Stefan Thomas
2012-12-10 13:47:42 -08:00
parent eea2739f53
commit 52fc3af69b
2 changed files with 4 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ enum LoadType
// Requests
LT_RequestData, // A request that is hard to satisfy, disk access
LT_CheapQuery, // A query that is trivial, cached data
LT_MAX = LT_CheapQuery
};
// load categoryies
@@ -39,6 +41,7 @@ public:
int mCost;
int mCategories;
LoadCost() : mType(), mCost(0), mCategories(0) { ; }
LoadCost(LoadType t, int cost, int cat) : mType(t), mCost(cost), mCategories(cat) { ; }
};