diff options
author | Ralph Brorsen | 2002-08-03 22:49:28 +0000 |
---|---|---|
committer | Ralph Brorsen | 2002-08-03 22:49:28 +0000 |
commit | 1c6bc15f2311cf8b6e4a3b71dab49a9471cd868b (patch) | |
tree | 2141bcc005154bd80f78f78ecb98ea972ab13215 | |
parent | cc04dccf2b97a0b880474a6992a5fdee1a7b8c6a (diff) | |
download | scummvm-rg350-1c6bc15f2311cf8b6e4a3b71dab49a9471cd868b.tar.gz scummvm-rg350-1c6bc15f2311cf8b6e4a3b71dab49a9471cd868b.tar.bz2 scummvm-rg350-1c6bc15f2311cf8b6e4a3b71dab49a9471cd868b.zip |
wjps simon save dialog patch. test for narrow letters was fixed, changed to non-negation for consistency
svn-id: r4690
-rw-r--r-- | simon/simon.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index eeb7f8343c..c12b3b95b0 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -2316,9 +2316,9 @@ restart:; name_len = 0; while (name[name_len]) { fcs->unk6++; - fcs->unk3 += 4; + fcs->unk3 += 6; if (name[name_len] == 'i' || name[name_len] == 'l') - fcs->unk3 += 2; + fcs->unk3 -= 2; if (fcs->unk3 >= 8) { fcs->unk3 -= 8; fcs->unk1++; @@ -3263,9 +3263,9 @@ void SimonState::video_putchar(FillOrCopyStruct *fcs, byte c) video_putchar_helper_2(fcs, fcs->unk1 + fcs->x, fcs->unk2 * 8 + fcs->y, c); fcs->unk6++; - fcs->unk3 += 4; - if (c != 'i' && c != 'l') - fcs->unk3 += 2; + fcs->unk3 += 6; + if (c == 'i' || c == 'l') + fcs->unk3 -= 2; if (fcs->unk3 >= 8) { fcs->unk3 -= 8; |