Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his precious 'Gabriel is a lout' line :P
svn-id: r47011
This commit is contained in:
parent
e72e130048
commit
e87cc86665
2 changed files with 4 additions and 4 deletions
|
@ -142,7 +142,7 @@ static const char *sci2_default_knames[] = {
|
|||
/*0x68*/ "Platform",
|
||||
/*0x69*/ "BaseSetter",
|
||||
/*0x6a*/ "DirLoop",
|
||||
/*0x6b*/ "CanBeHere",
|
||||
/*0x6b*/ "CantBeHere",
|
||||
/*0x6c*/ "InitBresen",
|
||||
/*0x6d*/ "DoBresen",
|
||||
/*0x6e*/ "SetJump",
|
||||
|
@ -296,7 +296,7 @@ static const char *sci21_default_knames[] = {
|
|||
/*0x5d*/ "FileIO",
|
||||
/*0x5e*/ "BaseSetter",
|
||||
/*0x5f*/ "DirLoop",
|
||||
/*0x60*/ "CanBeHere",
|
||||
/*0x60*/ "CantBeHere",
|
||||
/*0x61*/ "InitBresen",
|
||||
/*0x62*/ "DoBresen",
|
||||
/*0x63*/ "SetJump",
|
||||
|
|
|
@ -375,9 +375,9 @@ bool EngineState::autoDetectFeature(FeatureDetection featureDetection, int metho
|
|||
break;
|
||||
case kDetectMoveCountType:
|
||||
// Games which ignore move count call kAbs before calling kDoBresen
|
||||
if (kFuncNum == 61) { // kAbs (SCI1)
|
||||
if (_kernel->getKernelName(kFuncNum) == "Abs") {
|
||||
foundTarget = true;
|
||||
} else if (kFuncNum == 80) { // kDoBresen (SCI1)
|
||||
} else if (_kernel->getKernelName(kFuncNum) == "DoBresen") {
|
||||
_moveCountType = foundTarget ? kIgnoreMoveCount : kIncrementMoveCount;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue