mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 01:25: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 {
|
else {
|
||||||
// Instant.
|
// Instant.
|
||||||
updateGameCount();
|
updateGameCount();
|
||||||
anim = new LambdaAnimation(
|
anim =
|
||||||
[this, startPos, endPos, posMax](float t) { mCamOffset = endPos; }, animTime);
|
new LambdaAnimation([this, startPos, endPos, posMax](float t) { mCamOffset = endPos; },
|
||||||
|
static_cast<int>(animTime));
|
||||||
}
|
}
|
||||||
|
|
||||||
setAnimation(anim, 0, nullptr, false, 0);
|
setAnimation(anim, 0, nullptr, false, 0);
|
||||||
|
|
Loading…
Reference in a new issue