This commit is contained in:
Thomas 2022-01-09 14:48:51 +01:00
parent 19dd72a9f6
commit c00c7361e9
No known key found for this signature in database
GPG Key ID: E538821A6CDFDAD7

View File

@ -185,7 +185,7 @@ bool Game::checkTorpedosAndInvaders() {
pos.getX(), pos.getX() + confData.invadersSize)){
InvaderType invType = grid[i][grid[i].size()-1];
InvaderType invType = grid[i][alienIndex];
players[tor_ite->owner].score += confData.invadersDef.at(invType).points;
torpedos.erase(tor_ite);