Changeset 229 for trunk/src/game/GameObject.cpp
- Timestamp:
- 11/19/08 13:48:34 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/GameObject.cpp
r203 r229 66 66 if(m_uint32Values) // field array can be not exist if GameOBject not loaded 67 67 { 68 // crash poss able at access to deleted GO in Unit::m_gameobj68 // crash possible at access to deleted GO in Unit::m_gameobj 69 69 uint64 owner_guid = GetOwnerGUID(); 70 70 if(owner_guid) … … 74 74 owner->RemoveGameObject(this,false); 75 75 else if(!IS_PLAYER_GUID(owner_guid)) 76 sLog.outError("Delete GameObject (GUID: %u Entry: %u ) that have references in not found creature %u GO list. Crash poss able later.",GetGUIDLow(),GetGOInfo()->id,GUID_LOPART(owner_guid));76 sLog.outError("Delete GameObject (GUID: %u Entry: %u ) that have references in not found creature %u GO list. Crash possible later.",GetGUIDLow(),GetGOInfo()->id,GUID_LOPART(owner_guid)); 77 77 } 78 78 } … … 210 210 } 211 211 212 m_lootState = GO_READY; // can be succes fully open with some chance212 m_lootState = GO_READY; // can be successfully open with some chance 213 213 } 214 214 return; … … 287 287 if(!radius) 288 288 { 289 if(goInfo->trap.cooldown != 3) // cast in other case (at some trigg ring/linked go/etc explicit call)289 if(goInfo->trap.cooldown != 3) // cast in other case (at some triggering/linked go/etc explicit call) 290 290 return; 291 291 else … … 434 434 435 435 // if option not set then object will be saved at grid unload 436 if(sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIAT LY))436 if(sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATELY)) 437 437 SaveRespawnTime(); 438 438 … … 487 487 { 488 488 // this should only be used when the gameobject has already been loaded 489 // p erferably after adding to map, because mapid may not be valid otherwise489 // preferably after adding to map, because mapid may not be valid otherwise 490 490 GameObjectData const *data = objmgr.GetGOData(m_DBTableGuid); 491 491 if(!data)