From: Luca P. <lpa...@us...> - 2006-01-11 23:31:07
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7282/server Modified Files: questmanager.cpp Log Message: fixed for new cachemanager singleton Index: questmanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/questmanager.cpp,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** questmanager.cpp 11 Jan 2006 22:43:29 -0000 1.77 --- questmanager.cpp 11 Jan 2006 23:30:58 -0000 1.78 *************** *** 603,607 **** if (item_name.Length()) { // check if the item exists in db ! psItemStats* itemstat = psserver->cachemanager.GetBasicItemStatsByName(item_name); if (itemstat==NULL) { Error2("ERROR Loading quests: Item %s doesn't exist in database", item_name.GetDataSafe()); --- 603,607 ---- if (item_name.Length()) { // check if the item exists in db ! psItemStats* itemstat = CacheManager::GetSingleton().GetBasicItemStatsByName(item_name); if (itemstat==NULL) { Error2("ERROR Loading quests: Item %s doesn't exist in database", item_name.GetDataSafe()); |