mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 09:29:09 +00:00
Codestyle fix (#1797)
Warning: Dont change this PR as draft to make it testable DONT REVIEW UNTIL Codestyle C++ workflow dont pass
This commit is contained in:
@@ -77,7 +77,8 @@ Engine::~Engine(void)
|
||||
// for (std::map<std::string, Strategy*>::iterator i = strategies.begin(); i != strategies.end(); i++)
|
||||
// {
|
||||
// Strategy* strategy = i->second;
|
||||
// if (strategy) {
|
||||
// if (strategy)
|
||||
// {
|
||||
// delete strategy;
|
||||
// }
|
||||
// }
|
||||
@@ -402,7 +403,6 @@ void Engine::addStrategiesNoInit(std::string first, ...)
|
||||
va_end(vl);
|
||||
}
|
||||
|
||||
|
||||
bool Engine::removeStrategy(std::string const name, bool init)
|
||||
{
|
||||
std::map<std::string, Strategy*>::iterator i = strategies.find(name);
|
||||
|
||||
Reference in New Issue
Block a user