Fix particles preprocessing for both armake and pboProject

This commit is contained in:
jonpas 2018-05-22 20:09:30 +02:00
parent 9a37713710
commit 326604ae9f

View File

@ -43,14 +43,13 @@
interval = 1; \
}; \
}
#define MERGE(var1,var2) var1####var2
#define EFFECT_AFTER_WATER(color) class ACE_SmokeAfterWater##color: ACE_SmokeAfterWaterWhite { \
class SmokeAfterWater: SmokeAfterWater { \
type = QUOTE(MERGE(ACE_SmokeAfterWater,color)); \
type = QUOTE(ACE_SmokeAfterWater##color); \
}; \
}
#define CLOUDLET_UNDERWATER(color) class SmokeShell##color##UW; \
class SmokeShell##color##2UW: SmokeShell##color##UW { \
postEffects = QUOTE(MERGE(ACE_SmokeAfterWater,color)); \
postEffects = QUOTE(ACE_SmokeAfterWater##color); \
}