Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -66,7 +66,7 @@ shared_ptr<Layer>FuzzyZoomLayer::zoom(int64_t seed, shared_ptr<Layer>sup, int co
|
||||
shared_ptr<Layer> result = sup;
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
result = std::make_shared<FuzzyZoomLayer>(seed + i, result);
|
||||
result = shared_ptr<Layer>(new FuzzyZoomLayer(seed + i, result));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user