From c7a1bd48bd3226cfb8ccd92ff7bea1a43210b44b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 30 Dec 2011 23:09:21 +1100 Subject: MORTEVIELLE: Replaced all set::of forms with proper C if statements --- engines/mortevielle/taffich.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/mortevielle/taffich.cpp') diff --git a/engines/mortevielle/taffich.cpp b/engines/mortevielle/taffich.cpp index 85b2157b6e..6d6df692cd 100644 --- a/engines/mortevielle/taffich.cpp +++ b/engines/mortevielle/taffich.cpp @@ -109,8 +109,10 @@ void taffich() { a = caff; - if (set::of(range(153, 161), eos).has(a)) a = tran2[a]; - else if (set::of(range(136, 140), eos).has(a)) a = tran1[a]; + if ((a >= 153) && (a <= 161)) + a = tran2[a]; + else if ((a >= 136) && (a <= 140)) + a = tran1[a]; b = a; if (maff == a) return; if (a == 16) { -- cgit v1.2.3