[Scummvm-git-logs] scummvm master -> 0c640239fdf4525126a98f4429c38cf83127ab36

dreammaster dreammaster at scummvm.org
Mon Feb 27 15:21:01 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0c640239fd TITANIC: Fix initialization of FRect


Commit: 0c640239fdf4525126a98f4429c38cf83127ab36
    https://github.com/scummvm/scummvm/commit/0c640239fdf4525126a98f4429c38cf83127ab36
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-02-27T09:21:00-05:00

Commit Message:
TITANIC: Fix initialization of FRect

Changed paths:
    engines/titanic/star_control/frect.h


diff --git a/engines/titanic/star_control/frect.h b/engines/titanic/star_control/frect.h
index cfe9970..654c578 100644
--- a/engines/titanic/star_control/frect.h
+++ b/engines/titanic/star_control/frect.h
@@ -34,8 +34,8 @@ public:
 	double right, bottom;
 public:
 	FRect() : left(0), top(0), right(0), bottom(0) {}
-	FRect(double left, double top, double right, double bottom) : 
-		left(left), top(top), right(right), bottom(bottom) {}
+	FRect(double x1, double y1, double x2, double y2) :
+		left(x1), top(y1), right(x2), bottom(y2) {}
 
 	/**
 	 * Returns true if the rects equal





More information about the Scummvm-git-logs mailing list