From 7e0c4e14510f34bcfbc88233f5459762f0c77b5b Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Tue, 30 Aug 2016 07:13:57 +0300 Subject: [PATCH] tweak --- client/CPreGame.cpp | 4 ++-- client/CPreGame.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/CPreGame.cpp b/client/CPreGame.cpp index 2d23f81bd..91a787b5d 100644 --- a/client/CPreGame.cpp +++ b/client/CPreGame.cpp @@ -1284,7 +1284,7 @@ SelectionTab::SelectionTab(CMenuScreen::EState Type, const std::functionaddUsedEvents(WHEEL); - formatIcons = new CAnimation("SCSELC.DEF"); + formatIcons = make_unique("SCSELC.DEF"); formatIcons->load(); sortingBy = _format; @@ -1314,7 +1314,7 @@ SelectionTab::SelectionTab(CMenuScreen::EState Type, const std::function formatIcons; void parseMaps(const std::unordered_set &files); void parseGames(const std::unordered_set &files, bool multi);