Browse Source

Compile fix.

Michał W. Urbańczyk 14 years ago
parent
commit
7b0188a941
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/CGameHandler.cpp

+ 1 - 1
server/CGameHandler.cpp

@@ -3811,7 +3811,7 @@ void CGameHandler::handleTimeEvents()
 			gs->map->events.pop_front();
 
 			ev->firstOccurence += ev->nextOccurence;
-			std::list<CMapEvent*>::iterator it = gs->map->events.begin();
+			std::list<ConstTransitivePtr<CMapEvent> >::iterator it = gs->map->events.begin();
 			while ( it !=gs->map->events.end() && **it <= *ev )
 				it++;
 			gs->map->events.insert(it, ev);