1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fixes from code review

This commit is contained in:
Dydzio
2024-12-05 21:16:06 +01:00
parent 7a701b39fb
commit 7be31c94f2
4 changed files with 6 additions and 13 deletions

View File

@@ -41,8 +41,6 @@ NewTurnProcessor::NewTurnProcessor(CGameHandler * gameHandler)
void NewTurnProcessor::handleTimeEvents(PlayerColor color)
{
std::vector<const CGObjectInstance*> removedObjects;
for (auto const & event : gameHandler->gameState()->map->events)
{
if (!event.occursToday(gameHandler->gameState()->day))