diff options
author | Paul Gilbert | 2011-12-30 23:09:21 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:18:53 +0200 |
commit | c7a1bd48bd3226cfb8ccd92ff7bea1a43210b44b (patch) | |
tree | 2b95a564393917bb961d038f7183fc56bfd8f208 /engines/mortevielle/taffich.cpp | |
parent | 6998d530dcf5e691c2624dcb401345743e4c7ed7 (diff) | |
download | scummvm-rg350-c7a1bd48bd3226cfb8ccd92ff7bea1a43210b44b.tar.gz scummvm-rg350-c7a1bd48bd3226cfb8ccd92ff7bea1a43210b44b.tar.bz2 scummvm-rg350-c7a1bd48bd3226cfb8ccd92ff7bea1a43210b44b.zip |
MORTEVIELLE: Replaced all set::of forms with proper C if statements
Diffstat (limited to 'engines/mortevielle/taffich.cpp')
-rw-r--r-- | engines/mortevielle/taffich.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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) { |