From 55fd7deba361f79d666c56e36765d5e03320acc4 Mon Sep 17 00:00:00 2001 From: sabetts Date: Sun, 26 Jan 2003 03:13:22 +0000 Subject: (cmd_rudeness): rudeness data correctly stored in rudeness variables. --- src/actions.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/actions.c b/src/actions.c index bb5a36b..18d6c4b 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1618,10 +1618,10 @@ cmd_rudeness (int interactive, void *data) return NULL; } - rp_honour_transient_raise = num & 1; - rp_honour_normal_raise = num & 2; - rp_honour_transient_map = num & 4; - rp_honour_normal_map = num & 8; + rp_honour_transient_raise = num & 1 ? 1 : 0; + rp_honour_normal_raise = num & 2 ? 1 : 0; + rp_honour_transient_map = num & 4 ? 1 : 0; + rp_honour_normal_map = num & 8 ? 1 : 0; return NULL; } -- cgit v1.2.3