Initialise _resList to avoid crash (from freeing an invalid pointer) if the

data files are missing.

svn-id: r22520
This commit is contained in:
Torbjörn Andersson 2006-05-18 14:28:19 +00:00
parent 9e3b78e1e9
commit 6b90c405e8

View File

@ -64,6 +64,7 @@ ResourceManager::ResourceManager(Sword2Engine *vm) {
_vm = vm;
_totalClusters = 0;
_resList = NULL;
_resConvTable = NULL;
_cacheStart = NULL;
_cacheEnd = NULL;