mirror of
https://github.com/glest/glest-source.git
synced 2025-08-24 17:02:49 +02:00
- unit particles now support minHp / mapHp tags
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user