From aad94053737cb46659f88a079f73b00c64473110 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 23 Feb 2002 16:29:21 +0000 Subject: [PATCH] noch so ein assert --- src/common/kernel/save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/save.c b/src/common/kernel/save.c index 183140dbc..f92204f5a 100644 --- a/src/common/kernel/save.c +++ b/src/common/kernel/save.c @@ -2076,7 +2076,7 @@ writegame(char *path, char quiet) #else for (i=0;i!=u->skill_size;++i) { skill * sv = u->skills+i; - assert(sv->level>=0 && sv->weeks>=0 && sv->weeks<=sv->level*2); + assert(sv->level>=0 && sv->weeks>=0 && sv->weeks<=sv->level*2+1); if (sv->level>0) { wi(F, sv->id); wi(F, sv->level);