assert that string variable actually exists before we start doing comparisons against the string
svn-id: r9696
This commit is contained in:
parent
78b6cb41a9
commit
9d450bc9ce
1 changed files with 1 additions and 0 deletions
|
@ -2386,6 +2386,7 @@ void Scumm_v6::o6_kernelSetFunctions() {
|
|||
// _imuseDigital->stopAll();
|
||||
// }
|
||||
uint32 speed;
|
||||
assert(getStringAddressVar(VAR_VIDEONAME));
|
||||
if (strcmp((char *)getStringAddressVar(VAR_VIDEONAME), "sq3.san") == 0)
|
||||
speed = 71000;
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue