aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp10
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;