diff --git a/engines/groovie/logic/gallery.cpp b/engines/groovie/logic/gallery.cpp index 9d0f682f677..f03258eaf20 100644 --- a/engines/groovie/logic/gallery.cpp +++ b/engines/groovie/logic/gallery.cpp @@ -57,7 +57,6 @@ const byte GalleryGame::kGalleryLinks[21][10] = { {12, 14, 15, 18, 20, 0, 0, 0, 0, 0 } // 21 }; -const int kPieceCount = 21; enum kGalleryPieceStatus { kPieceUnselected = 0, kPieceSelected = 1 diff --git a/engines/groovie/logic/gallery.h b/engines/groovie/logic/gallery.h index 54c56ce90ee..4c98afbcce5 100644 --- a/engines/groovie/logic/gallery.h +++ b/engines/groovie/logic/gallery.h @@ -76,6 +76,8 @@ namespace Groovie { * +-----------+--------+-----------------------------------------+ */ +const int kPieceCount = 21; + class GalleryGame { public: GalleryGame(bool easierAi) { @@ -95,7 +97,7 @@ private: void test(); void ensureSamanthaWins(int seed); - void testsWriteMove(int move, byte pieceStatus[]); + void testsWriteMove(int move, byte pieceStatus[kPieceCount]); }; } // End of Groovie namespace