Error when compiling with VS
Created by: 1vanK
float LucKey::Cycle(float x, float min, float max)
{
...
int range{max - min};
...
}
Error C2397 conversion from 'float' to 'int' requires a narrowing conversion D:\MyGames\Quarto\GameSrc\luckey.cpp 138
Fixed version:
int range = max - min;