| 375 | } |
| 376 | |
| 377 | ExplosionData* ExplosionData::cloneAndPerformSubstitutions(const SimObject* owner, S32 index) |
| 378 | { |
| 379 | if (!owner || getSubstitutionCount() == 0) |
| 380 | return this; |
| 381 | |
| 382 | ExplosionData* sub_explosion_db = new ExplosionData(*this, true); |
| 383 | performSubstitutions(sub_explosion_db, owner, index); |
| 384 | |
| 385 | return sub_explosion_db; |
| 386 | } |
| 387 | |
| 388 | void ExplosionData::initPersistFields() |
| 389 | { |
no outgoing calls
no test coverage detected