0x004700A5
| 261 | |
| 262 | // 0x004700A5 |
| 263 | EntityBase* createEntityMisc() |
| 264 | { |
| 265 | if (getListCount(EntityListType::misc) >= Limits::kMaxMiscEntities) |
| 266 | { |
| 267 | return nullptr; |
| 268 | } |
| 269 | if (getListCount(EntityListType::null) <= 0) |
| 270 | { |
| 271 | return nullptr; |
| 272 | } |
| 273 | |
| 274 | auto newId = rawListHeads()[enumValue(EntityListType::null)]; |
| 275 | return createEntity(newId, EntityListType::misc); |
| 276 | } |
| 277 | |
| 278 | // 0x0047011C |
| 279 | EntityBase* createEntityMoney() |