summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-11 12:35:52 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit3665e99918aed9b2a76fa94efe470966958f60aa (patch)
tree884f51dfa0eec0abf8be00a181f3b35dbaf44d0a
parentbfa31491d5c7619c9aabbcf4623780ea4d3671d5 (diff)
downloadwilderness-war-3665e99918aed9b2a76fa94efe470966958f60aa.tar.gz
Remove unused function.
-rw-r--r--rules.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/rules.js b/rules.js
index ed9a75d..ff0b83b 100644
--- a/rules.js
+++ b/rules.js
@@ -477,13 +477,6 @@ function find_unused_british_regular() {
return 0;
}
-function find_unused_french_regular() {
- for (let p = first_french_regular; p <= last_french_regular; ++p)
- if (is_piece_unused(p))
- return p;
- return 0;
-}
-
function find_unused_highland() {
for (let p = first_highland; p <= last_highland; ++p)
if (is_piece_unused(p))