diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-06-09 23:29:34 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-06-09 23:29:34 -0400 |
| commit | e7d0df1e50a9f55ed7f0a89908ffabffe27b39b8 (patch) | |
| tree | 493d8e347332ab2cd711d1ee1d205f3e4f9382c3 /src/d/d_com_inf_game.cpp | |
| parent | 6404bc476582be92151d131c19a159225d824d82 (diff) | |
Cleanup player struct
Diffstat (limited to 'src/d/d_com_inf_game.cpp')
| -rw-r--r-- | src/d/d_com_inf_game.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_com_inf_game.cpp b/src/d/d_com_inf_game.cpp index 7d600e9a..f58a164a 100644 --- a/src/d/d_com_inf_game.cpp +++ b/src/d/d_com_inf_game.cpp @@ -58,9 +58,9 @@ void dComIfG_play_c::ct() /* 800521A4-800521D4 .text init__14dComIfG_play_cFv */ void dComIfG_play_c::init() { - for (int i = 0; i < ARRAY_SIZE(mpPlayer); i++) { - mpPlayer[i] = NULL; - mCurCamera[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(mpPlayerPtr); i++) { |
