From 22456b345f4b39558cfc07ccd2e06ab6cfb98850 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 17 Mar 2018 20:27:42 -0400 Subject: XEEN: Change bool _isDarkCc to int _ccNum Originally the flag was whether the party was on the Dark Side, but as a bool I was having to cast it to an int side/cc number in more and more places. So now I've converted it to _ccNum, and it can be used directly as an int --- engines/xeen/subtitles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/xeen/subtitles.cpp') diff --git a/engines/xeen/subtitles.cpp b/engines/xeen/subtitles.cpp index 86dff2dac8..168ed1d4ea 100644 --- a/engines/xeen/subtitles.cpp +++ b/engines/xeen/subtitles.cpp @@ -40,7 +40,7 @@ Subtitles::~Subtitles() { void Subtitles::loadSubtitles() { File f("special.bin"); - if (!g_vm->_files->_isDarkCc) { + if (!g_vm->_files->_ccNum) { // The first subtitle line contains all the text for the Clouds intro. Since ScummVM allows // both voice and subtitles at the same time, unlike the original, we need to split up the // first subtitle into separate lines to allow them to better interleave with the voice -- cgit v1.2.3