From f97d334732201e5a8e1250318925c90d0c715225 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Wed, 3 Dec 2025 18:09:56 -0500 Subject: Debug+retail matches and clean up some fakematches (#2910) * Debug matches * Match daAlink_c::procGrassWhistleWait * Match JASAramStream::channelProc * More debug matches * Match JAUStreamStaticAramMgr_::deleteStreamAram and bitset inlines * Fix some fakematches * Fix gameinfo player info not being a struct * Update bug comments * Fix procids in alink * d_a_scene_exit OK --- src/d/d_com_inf_game.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/d/d_com_inf_game.cpp') diff --git a/src/d/d_com_inf_game.cpp b/src/d/d_com_inf_game.cpp index 623da54fcf..5bc923bbf3 100644 --- a/src/d/d_com_inf_game.cpp +++ b/src/d/d_com_inf_game.cpp @@ -38,13 +38,15 @@ static __d_timer_info_c dComIfG_mTimerInfo; dComIfG_inf_c g_dComIfG_gameInfo; void dComIfG_play_c::init() { - for (int i = 0; i < 1; i++) { - mPlayer[i] = NULL; - mPlayerCameraID[i] = -1; + for (int i = 0; i < ARRAY_SIZE(mPlayerInfo); i++) { + mPlayerInfo[i].mpPlayer = NULL; + mPlayerInfo[i].mCameraID = -1; + } + for (int i = 0; i < ARRAY_SIZE(mCameraInfo); i++) { + mCameraInfo[i].mCamera = NULL; } - mCameraInfo[0].mCamera = NULL; - for (int i = 0; i < 2; i++) { + for (int i = 0; i < ARRAY_SIZE(mPlayerPtr); i++) { mPlayerPtr[i] = NULL; } -- cgit v1.2.3