Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CEterPackManager::RegisterRootPack(const char * c_szName)
- {
- assert(c_szName);
- if (m_pFoxFS) -- this line 479
- {
- int errorCode = 0;
- if ((errorCode = FoxFS_LoadA(m_pFoxFS, c_szName)) != FoxFS::ERROR_OK) --- And line 482
- {
- TraceError("%s: Error Code %d", c_szName, errorCode);
- }
- }
- else
- {
- TraceError("FoxFS: Not initialized!");
- }
- }
- For the first five lines
- AND:
- bool CEterPackManager::RegisterPack(const char * c_szName, const char * c_szDirectory, const BYTE* c_pbIV)
- {
- assert(c_szName);
- if (m_pFoxFS) --- Line 523
- {
- int errorCode = 0;
- if (((errorCode = FoxFS_LoadA(m_pFoxFS, c_szName)) != FoxFS::ERROR_OK) /*&& ((errorCode = FoxFS_LoadA(m_pFoxFS, c_szName)) != FoxFS::ERROR_ARCHIVE_INVALID)*/) ---- And line 526
- {
- TraceError("%s: Error Code %d", c_szName, errorCode);
- }
- }
- else
- {
- TraceError("FoxFS: Not initialized!");
- }
- return false;
- }
- Next five lines
- And:
- bool CPythonNonPlayer::IsMonsterStone(DWORD dwVnum)
- {
- const CPythonNonPlayer::TMobTable * c_pTable = GetTable(dwVnum);
- if (!c_pTable)
- {
- DWORD bType = 0;
- return bType; --- this is line warning 291
- }
- return c_pTable->bType == 2;
- }
- #endif
- Lines for the warning
Advertisement
Add Comment
Please, Sign In to add comment