mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
parent
99f2c1a2a6
commit
d65c9a3262
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ Phase Position::game_phase() const {
|
|||
|
||||
npm = std::max(EndgameLimit, std::min(npm, MidgameLimit));
|
||||
|
||||
return Phase(((npm - EndgameLimit) * 128) / (MidgameLimit - EndgameLimit));
|
||||
return Phase(((npm - EndgameLimit) * PHASE_MIDGAME) / (MidgameLimit - EndgameLimit));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue