lol
This commit is contained in:
parent
19dd72a9f6
commit
c00c7361e9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user