COMMON: Change Rect and Point to have int32 fields
This commit is contained in:
parent
526a898454
commit
1c3e7fb4e9
53 changed files with 152 additions and 144 deletions
|
@ -643,7 +643,7 @@ BoxCoords ScummEngine::getBoxCoordinates(int boxnum) {
|
|||
return *box;
|
||||
}
|
||||
|
||||
int getClosestPtOnBox(const BoxCoords &box, int x, int y, int16& outX, int16& outY) {
|
||||
int getClosestPtOnBox(const BoxCoords &box, int x, int y, int32 &outX, int32 &outY) {
|
||||
const Common::Point p(x, y);
|
||||
Common::Point tmp;
|
||||
uint dist;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue