mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(Windows) Fixed an MSVC compiler warning.
This commit is contained in:
parent
2d24230a48
commit
c12d57cb75
|
@ -437,8 +437,9 @@ void SystemView::onCursorChanged(const CursorState& state)
|
|||
else {
|
||||
// Instant.
|
||||
updateGameCount();
|
||||
anim = new LambdaAnimation(
|
||||
[this, startPos, endPos, posMax](float t) { mCamOffset = endPos; }, animTime);
|
||||
anim =
|
||||
new LambdaAnimation([this, startPos, endPos, posMax](float t) { mCamOffset = endPos; },
|
||||
static_cast<int>(animTime));
|
||||
}
|
||||
|
||||
setAnimation(anim, 0, nullptr, false, 0);
|
||||
|
|
Loading…
Reference in a new issue