Add frandbool usage to w02dll/main

This commit is contained in:
gamemasterplc 2024-04-24 16:50:49 -05:00
parent 6859839770
commit 9355447017

View file

@ -268,7 +268,7 @@ void fn_1_990(void) {
currPlayer = GWSystem.player_curr;
BoardWinCreateChoice(2, 0x130011U, 4, 0);
if (GWPlayer[currPlayer].com) {
if ((s32) (frand() & 1) != 0) {
if (frandBool() != 0) {
BoardComKeySetLeft();
} else {
BoardComKeySetRight();