by Dann Corbit » 04 May 2005, 22:05
In easy.c and in root.c, extend() is called without the ks_delta arg.
E:\pgn\winboard-engines\scatha\src\easy.c(107): extend(move, &(ss->extension), &(ss->ext_reason), 0);
E:\pgn\winboard-engines\scatha\src\extend.c(11):int extend(move_t m, int *ext, int *reason, int mate_threat, int ks_delta) {
E:\pgn\winboard-engines\scatha\src\root.c(136): ext = extend(move, &(ss->extension), &(ss->ext_reason), 0);
E:\pgn\winboard-engines\scatha\src\search.c(233): ext = extend(move, &(ss->extension), &(ss->ext_reason), mate_threat,
E:\pgn\winboard-engines\scatha\src\scatha.h(573):extern int extend(move_t m, int *ext, int *reason, int mate_threat, int ks_delta);
I added an additional zero parameter to those two calls. You might want something different in there.