Skip to content

Commit d0e8ba8

Browse files
committed
Fix build.
1 parent 5bcb651 commit d0e8ba8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathSelect.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ bool PathSelectDetector::process_frame(const ImageViewRGB32& frame, WallClock ti
177177

178178

179179
PathReader::PathReader(VideoOverlay& overlay, size_t player_index)
180-
: m_player_index(player_index)
181-
, m_path(overlay, {0.150, 0.020, 0.800, 0.780})
180+
: m_path(overlay, {0.150, 0.020, 0.800, 0.780})
182181
, m_sprite0(overlay, {0.002, 0.345 + 0*0.16315, 0.071, 0.102})
183182
, m_sprite1(overlay, {0.002, 0.345 + 1*0.16315, 0.071, 0.102})
184183
, m_sprite2(overlay, {0.002, 0.345 + 2*0.16315, 0.071, 0.102})

SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_PathSelect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class PathReader{
101101
void read_hp(Logger& logger, const ImageViewRGB32& screen, double hp[4]) const;
102102

103103
private:
104-
size_t m_player_index;
104+
// size_t m_player_index;
105105
OverlayBoxScope m_path;
106106
OverlayBoxScope m_sprite0;
107107
OverlayBoxScope m_sprite1;

0 commit comments

Comments
 (0)