0x00440BBF
| 16 | |
| 17 | // 0x00440BBF |
| 18 | ExplosionSmoke* ExplosionSmoke::create(const World::Pos3& loc) |
| 19 | { |
| 20 | auto t = static_cast<ExplosionSmoke*>(EntityManager::createEntityMisc()); |
| 21 | if (t != nullptr) |
| 22 | { |
| 23 | t->spriteWidth = 44; |
| 24 | t->spriteHeightNegative = 32; |
| 25 | t->spriteHeightPositive = 34; |
| 26 | t->baseType = EntityBaseType::effect; |
| 27 | t->moveTo(loc + World::Pos3{ 0, 0, 4 }); |
| 28 | t->setSubType(EffectType::explosionSmoke); |
| 29 | t->frame = 0; |
| 30 | } |
| 31 | return t; |
| 32 | } |
| 33 | } |
nothing calls this directly
no test coverage detected