now load waypoints from memory as well
changed versioning scheme updated linux makefiles
This commit is contained in:
parent
730ce7a1d4
commit
a61cd3b021
9 changed files with 20 additions and 44 deletions
|
|
@ -485,12 +485,12 @@ MemoryFile::MF_Unloader MemoryFile::Unloader = NULL;
|
|||
|
||||
void InitConfig (void)
|
||||
{
|
||||
// assign engine loaders to memoryfile handler
|
||||
if (MemoryFile::Loader == NULL || MemoryFile::Unloader == NULL)
|
||||
if (!MemoryFile::Loader && !MemoryFile::Unloader)
|
||||
{
|
||||
MemoryFile::Loader = reinterpret_cast <MemoryFile::MF_Loader> (g_engfuncs.pfnLoadFileForMe);
|
||||
MemoryFile::Unloader = reinterpret_cast <MemoryFile::MF_Unloader> (g_engfuncs.pfnFreeFile);
|
||||
}
|
||||
|
||||
MemoryFile fp;
|
||||
char line[512];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue