mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix a warning with MSVC
warning C4244: '*=': conversion from 'double' to 'int', possible loss of data No functional change.
This commit is contained in:
parent
9d95d43c57
commit
3fd7e37868
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ namespace {
|
|||
int time = int(std::min(1.0, ratio) * std::max(0, myTime - moveOverhead));
|
||||
|
||||
if (type == OptimumTime && ponder)
|
||||
time *= 1.25;
|
||||
time = 5 * time / 4;
|
||||
|
||||
return time;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue