mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Make some non-const static variables const or constexpr
This commit is contained in:
@@ -76,7 +76,7 @@ void CPuzzleWindow::showAll(Canvas & to)
|
||||
|
||||
void CPuzzleWindow::show(Canvas & to)
|
||||
{
|
||||
static int animSpeed = 2;
|
||||
constexpr int animSpeed = 2;
|
||||
|
||||
if(currentAlpha < animSpeed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user