From cd70cfcb8b129977da20fccdd94d2bd2b8d1cd45 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 25 Nov 2005 22:17:41 +0000 Subject: [PATCH] syntax error --- src/common/kernel/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/skill.c b/src/common/kernel/skill.c index be56c89ba..17c9767f1 100644 --- a/src/common/kernel/skill.c +++ b/src/common/kernel/skill.c @@ -90,7 +90,7 @@ void enable_skill(const char * skname, boolean value) { skill_t sk; - for (sk=0;sk!=MAXSKILLS) { + for (sk=0;sk!=MAXSKILLS;++sk) { if (strcmp(skillnames[sk], skname)==0) { skill_enabled[sk] = value; return;