summaryrefslogtreecommitdiffstats
path: root/GameField.hpp
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-02-18 12:24:56 +0000
committerJoursoir <chat@joursoir.net>2021-02-18 12:24:56 +0000
commit84b689ec06623c32b634b9824336b20e6fe38677 (patch)
treea1ab209b3c5d8896ef2a62fcd6528ae93b45838b /GameField.hpp
parentb89e003d7e1ed6997d2a5a9da45b5305b3bb9b05 (diff)
downloadlp-gomoku-84b689ec06623c32b634b9824336b20e6fe38677.tar.gz
lp-gomoku-84b689ec06623c32b634b9824336b20e6fe38677.tar.bz2
lp-gomoku-84b689ec06623c32b634b9824336b20e6fe38677.zip
fix bug in rows/cols and improve diags scaning
Diffstat (limited to 'GameField.hpp')
-rw-r--r--GameField.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/GameField.hpp b/GameField.hpp
index 9975caa..4c6d61d 100644
--- a/GameField.hpp
+++ b/GameField.hpp
@@ -31,7 +31,7 @@ private:
void UpdateState(int y, int x);
int ScanRowsAround(int y, int x);
int ScanColsAround(int y, int x);
- int ScanDiags();
+ int ScanDiagsAround(int y, int x);
};
#endif /* LPG_GAMEFIELD_H */