From 3a208a3a4f92dec41e051442effd0ba18a13ff8f Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 14 Feb 2008 13:28:35 +0000 Subject: Fix a casting subtlety in moving to constants. Logins should work again. --- OpenSim/Framework/Communications/LoginResponse.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Communications/LoginResponse.cs b/OpenSim/Framework/Communications/LoginResponse.cs index 00b691e..baf07e8 100644 --- a/OpenSim/Framework/Communications/LoginResponse.cs +++ b/OpenSim/Framework/Communications/LoginResponse.cs @@ -347,8 +347,8 @@ namespace OpenSim.Framework.UserManagement responseData["home"] = home; responseData["look_at"] = lookAt; responseData["message"] = welcomeMessage; - responseData["region_x"] = (Int32)RegionX * Constants.RegionSize; - responseData["region_y"] = (Int32)RegionY * Constants.RegionSize; + responseData["region_x"] = (Int32)(RegionX * Constants.RegionSize); + responseData["region_y"] = (Int32)(RegionY * Constants.RegionSize); //responseData["inventory-lib-root"] = new ArrayList(); // todo -- cgit v1.1