diff options
author | Travis Howell | 2003-12-20 09:05:25 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-20 09:05:25 +0000 |
commit | aceafcbb484f18aedda914bf321585a9c113016a (patch) | |
tree | 3d5d84671759c0356bb071af24c2456d97ea927f | |
parent | 50c2dc9b25a0cce128f1df7e59dd0f03078d2e65 (diff) | |
download | scummvm-rg350-aceafcbb484f18aedda914bf321585a9c113016a.tar.gz scummvm-rg350-aceafcbb484f18aedda914bf321585a9c113016a.tar.bz2 scummvm-rg350-aceafcbb484f18aedda914bf321585a9c113016a.zip |
Add correction solution for missing song in dwarf mines of Simon1.
svn-id: r11774
-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 d7c8baa7fe..9f08dbc620 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -3979,7 +3979,11 @@ void SimonEngine::start_vga_code(uint b, uint vga_res, uint vga_sprite_id, uint vsp->image = 0; vsp->base_color = base_color; vsp->id = vga_sprite_id; - vsp->unk7 = vga_res; + if (!(_game & GF_SIMON2) &!(_game & GF_TALKIE)) + vsp->unk7 = vga_res = vga_sprite_id / 100; + else + vsp->unk7 = vga_res; + for (;;) { vpe = &_vga_buffer_pointers[vga_res]; @@ -4068,10 +4072,6 @@ void SimonEngine::talk_with_text(uint vga_sprite_id, uint color, const char *str uint m, n; uint height; - // FIXME: Shows Dwarf Song subtitles in Dwarf Mine under simon1dos - if (!(_game & GF_SIMON2) && !(_game & GF_TALKIE) && (vga_sprite_id >= 100)) - vga_sprite_id -= 100; - char_buf = print_str_buf; string_ptr_3 = string_ptr_2 = string_ptr; |