- unit particles now support minHp / mapHp tags

This commit is contained in:
SoftCoder
2014-11-18 21:38:46 -08:00
parent 04bc3b9f06
commit 3b3132ccce
12 changed files with 206 additions and 6 deletions

View File

@@ -1371,6 +1371,8 @@ void MainWindow::loadParticle(string path) {
for(std::vector<UnitParticleSystemType *>::const_iterator it= unitParticleSystemTypes.begin(); it != unitParticleSystemTypes.end(); ++it) {
UnitParticleSystem *ups= new UnitParticleSystem(200);
ups->setParticleType((*it));
(*it)->setValues(ups);
if(size > 0) {
//getCurrVectorFlat() + Vec3f(0.f, type->getHeight()/2.f, 0.f);