| 46 | } |
| 47 | |
| 48 | bool CCorpseManager::InList(int corpseSerial, int objectSerial) |
| 49 | { |
| 50 | for (const CCorpse &item : m_List) |
| 51 | { |
| 52 | if (item.CorpseSerial == corpseSerial || item.ObjectSerial == objectSerial) |
| 53 | { |
| 54 | return true; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | return false; |
| 59 | } |
| 60 | |
| 61 | CGameObject *CCorpseManager::GetCorpseObject(int serial) |
| 62 | { |
no outgoing calls
no test coverage detected