diff --git a/source/hook.c b/source/hook.c index 0177164..7766f87 100644 --- a/source/hook.c +++ b/source/hook.c @@ -946,7 +946,7 @@ int BX_do_hook (int which, char *format, ...) if (currser != oldser) { oldser = currser; - currmatch = oldmatch = 0; + oldmatch = 0; if (bestmatch) hook_array[hook_num++] = bestmatch; bestmatch = NULL;