Be paranoid about g_system being set

svn-id: r36131
This commit is contained in:
Max Horn 2009-01-29 22:09:06 +00:00
parent 164a099c7f
commit 7eaafd933f
6 changed files with 16 additions and 8 deletions

View file

@ -37,6 +37,7 @@ FSNode::FSNode(AbstractFSNode *realNode)
}
FSNode::FSNode(const Common::String &p) {
assert(g_system);
FilesystemFactory *factory = g_system->getFilesystemFactory();
AbstractFSNode *tmp = 0;