fixed "ghost module" problem

This commit is contained in:
David Anderson 2006-06-05 19:19:43 +00:00
parent 2c7ca33bf1
commit 011c9fa45c

View File

@ -207,7 +207,7 @@ LibError RunLibCommand(const LibDecoder *enc)
return LibErr_NoLibrary;
} else if (enc->cmd == LibCmd_ForceLib) {
if (!LoadModule(enc->param1, PT_ANYTIME))
if (!LoadModule(enc->param1, PT_ANYTIME, true, true))
{
return LibErr_NoLibrary;
}
@ -231,7 +231,7 @@ LibError RunLibCommand(const LibDecoder *enc)
return LibErr_None;
}
if (!LoadModule(enc->param2, PT_ANYTIME))
if (!LoadModule(enc->param2, PT_ANYTIME, true, true))
{
return LibErr_NoLibrary;
}