War mech shot muzzle flashes

This commit is contained in:
devZoGok
2024-06-09 17:02:08 +03:00
parent e37788283c
commit 52519ebc10
7 changed files with 130 additions and 75 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ namespace battleship{
typedef FxManager::Fx Fx;
typedef FxManager::Fx::Component Component;
FxManager::getSingleton()->addFx(Fx(vector<Component>{Component((void*)node, true, 50), Component((void*)explosionSfx, false, 2500)}));
FxManager::getSingleton()->addFx(new Fx(vector<Component>{Component((void*)node, true, 50), Component((void*)explosionSfx, false, 2500)}, true));
}
void Game::changeUnitPlayer(Unit *unit, Player *newPlayer){