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