Skip to content

Commit

Permalink
HOPKINS: (on behalf of fuzzie) Fix regression introduced in d963e97
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Jan 11, 2013
1 parent d963e97 commit f9f5888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/hopkins/lines.cpp
Expand Up @@ -3303,7 +3303,7 @@ int LinesManager::TEST_LIGNE(int a1, int a2, int *a3, int *foundLineIdx, int *fo
for (int idx = _vm->_objectsManager._lastLine + 1; idx < _vm->_linesManager._linesNumb + 1; idx++) {
lineData = Ligne[idx]._lineData;
lineDataEndIdx = Ligne[idx]._lineDataEndIdx;
if (lineData[2 * (lineDataEndIdx - 1)] == a1 && lineData[1] == a2) {
if (lineData[0] == a1 && lineData[1] == a2) {
*a3 = 1;
int posX = lineData[2 * (lineDataEndIdx - 1)];
int posY = lineData[2 * (lineDataEndIdx - 1) + 1];
Expand Down

0 comments on commit f9f5888

Please sign in to comment.