diff options
-rw-r--r-- | engines/sherlock/scalpel/scalpel_darts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_darts.cpp b/engines/sherlock/scalpel/scalpel_darts.cpp index 1b7c266de7..2b81cb71f4 100644 --- a/engines/sherlock/scalpel/scalpel_darts.cpp +++ b/engines/sherlock/scalpel/scalpel_darts.cpp @@ -470,8 +470,8 @@ Common::Point Darts::getComputerDartDest(int playerNum) { --aim; } while (!done); - target.x = 75 + ((target.x - 75) * 20 / 27); - target.y = 75 + ((target.y - 75) * 2 / 3); + target.x = 75 + ((pt.x - 75) * 20 / 27); + target.y = 75 + ((pt.y - 75) * 2 / 3); } // Pick a level of accuracy. The higher the level, the more accurate their throw will be |