0x00470188
| 388 | |
| 389 | // 0x00470188 |
| 390 | bool checkNumFreeEntities(const size_t numNewEntities) |
| 391 | { |
| 392 | if (getListCount(EntityListType::null) <= numNewEntities) |
| 393 | { |
| 394 | GameCommands::setErrorText(StringIds::too_many_objects_in_game); |
| 395 | return false; |
| 396 | } |
| 397 | return true; |
| 398 | } |
| 399 | |
| 400 | static void zeroEntity(EntityBase* ent) |
| 401 | { |
no test coverage detected