From 49fd23aa07484051adb9ad1ed13222e1767ec997 Mon Sep 17 00:00:00 2001 From: Elmo Todurov Date: Sun, 18 Aug 2013 22:28:31 +0300 Subject: Fixed autosqueltch class name matching --- src/squeltch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/squeltch.c b/src/squeltch.c index d79e1989..0c1e2902 100644 --- a/src/squeltch.c +++ b/src/squeltch.c @@ -885,7 +885,7 @@ static bool_ condition_eval(condition_type *c, object_type *o_ptr) sprintf(buf1, "%s", spp_ptr->title + c_name); strlower(buf1); - sprintf(buf2, "%s", c->race); + sprintf(buf2, "%s", c->klass); strlower(buf2); return streq(buf1, buf2); -- cgit v1.2.3