FX removal

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