non-Unix build was broken today

Changes to be committed:
	modified:   src/cmd.c

../src/cmd.c(515) : warning C4013: 'check_user_string' undefined; assuming extern returning int)
link error - cmd.o : error LNK2019:
unresolved external symbol _check_user_string referenced in function _enter_explore_mode
This commit is contained in:
nhmall
2015-03-31 19:07:25 -04:00
parent 055cc1b4d5
commit 8fb23b4a41

View File

@@ -510,12 +510,14 @@ enter_explore_mode(VOID_ARGS)
You("are already in explore mode.");
} else {
#ifdef SYSCF
# if defined(UNIX)
if (!sysopt.explorers ||
!sysopt.explorers[0] ||
!check_user_string(sysopt.explorers)) {
You("cannot access explore mode.");
return 0;
}
# endif
#endif
pline(
"Beware! From explore mode there will be no return to normal game.");