Changeset 8496 in orxonox.OLD for branches/network/src/lib/network/zip.cc
- Timestamp:
- Jun 15, 2006, 10:11:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/zip.cc
r7954 r8496 48 48 * @return true on success 49 49 */ 50 boolZip::loadDictionary( std::string name )50 int Zip::loadDictionary( std::string name ) 51 51 { 52 52 std::string fileName = ResourceManager::getInstance()->getDataDir(); … … 60 60 { 61 61 PRINTF(1)("Could not open %d\n", fileName.c_str()); 62 return false;62 return -1; 63 63 } 64 64 … … 87 87 PRINTF(3)("Loaded dictionary '%s' with adler = %d\n", name.c_str(), entry.adler ); 88 88 89 return true;89 return dicts.size()-1; 90 90 } 91 91
Note: See TracChangeset
for help on using the changeset viewer.