Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
Reapply coordinate fix patch
Browse files Browse the repository at this point in the history
    commit e452707
    Author: Kenji Rikitake <kenji.rikitake@acm.org>
    Date:   Tue Feb 18 09:33:55 2014 +0900

        Update computer.c

        * Fix quadrant coordinate boundary in the course calculation
  • Loading branch information
jj1bdx committed Jul 24, 2014
1 parent f6e4ecc commit da9b155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions computer.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ computer(int v __unused)
tqy = Ship.quady;
} else {
ix = getintpar("Quadrant");
if (ix < 0 || ix >= NSECTS)
if (ix < 0 || ix >= NQUADS)
break;
iy = getintpar("q-y");
if (iy < 0 || iy >= NSECTS)
if (iy < 0 || iy >= NQUADS)
break;
tqx = ix;
tqy = iy;
Expand Down

1 comment on commit da9b155

@jj1bdx
Copy link
Owner Author

@jj1bdx jj1bdx commented on da9b155 Dec 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.