| 318 | } |
| 319 | |
| 320 | void GameEntity::removeSeatWithVision(Seat* seat) |
| 321 | { |
| 322 | std::vector<Seat*>::iterator it = std::find(mSeatsWithVisionNotified.begin(), mSeatsWithVisionNotified.end(), seat); |
| 323 | if(it == mSeatsWithVisionNotified.end()) |
| 324 | return; |
| 325 | |
| 326 | mSeatsWithVisionNotified.erase(it); |
| 327 | fireRemoveEntity(seat); |
| 328 | } |
| 329 | |
| 330 | void GameEntity::fireRemoveEntityToSeatsWithVision() |
| 331 | { |