aboutsummaryrefslogtreecommitdiff
path: root/sword2/router.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-11-07 01:36:53 +0000
committerJonathan Gray2003-11-07 01:36:53 +0000
commit9a1cfe838f6ad609b135170f95109d7b07adc5fa (patch)
treea25fdcd609763723911b3096a1f68264a93b8429 /sword2/router.cpp
parentb8379d646a9689de98bb27f70529e7b7a54c9699 (diff)
downloadscummvm-rg350-9a1cfe838f6ad609b135170f95109d7b07adc5fa.tar.gz
scummvm-rg350-9a1cfe838f6ad609b135170f95109d7b07adc5fa.tar.bz2
scummvm-rg350-9a1cfe838f6ad609b135170f95109d7b07adc5fa.zip
spelling fixes
svn-id: r11175
Diffstat (limited to 'sword2/router.cpp')
-rw-r--r--sword2/router.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/router.cpp b/sword2/router.cpp
index 9373a655fd..d15b590587 100644
--- a/sword2/router.cpp
+++ b/sword2/router.cpp
@@ -2054,8 +2054,8 @@ int32 Router::lineCheck(int32 x1, int32 y1, int32 x2, int32 y2) {
if (xmax >= _bars[i].xmin && xmin <= _bars[i].xmax) {
// skip if not on module
if (ymax >= _bars[i].ymin && ymin <= _bars[i].ymax) {
- // okay its a valid line calculate an intersept
- // wow but all this arithmatic we must have
+ // okay its a valid line calculate an intercept
+ // wow but all this arithmetic we must have
// loads of time
// slope it he slope between the two lines
@@ -2117,7 +2117,7 @@ int32 Router::horizCheck(int32 x1, int32 y, int32 x2) {
// skip if not on module
if (y >= _bars[i].ymin && y <= _bars[i].ymax) {
// okay its a valid line calculate an intercept
- // wow but all this arithmatic we must have
+ // wow but all this arithmetic we must have
// loads of time
if (_bars[i].dy == 0)
@@ -2164,7 +2164,7 @@ int32 Router::vertCheck(int32 x, int32 y1, int32 y2) {
// skip if not on module
if (ymax >= _bars[i].ymin && ymin <= _bars[i].ymax) {
// okay its a valid line calculate an intercept
- // wow but all this arithmatic we must have
+ // wow but all this arithmetic we must have
// loads of time
// both lines vertical and overlap in x and y