diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLAssetData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index 4b51bda..23077f1 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs | |||
@@ -142,7 +142,7 @@ namespace OpenSim.Data.MySQL | |||
142 | asset.Data = (byte[]) dbReader["data"]; | 142 | asset.Data = (byte[]) dbReader["data"]; |
143 | asset.Description = (string) dbReader["description"]; | 143 | asset.Description = (string) dbReader["description"]; |
144 | asset.FullID = assetID; | 144 | asset.FullID = assetID; |
145 | asset.Local = ((sbyte) dbReader["local"]) != 0 ? true : false; | 145 | asset.Local = (bool)dbReader["local"]; |
146 | asset.Name = (string) dbReader["name"]; | 146 | asset.Name = (string) dbReader["name"]; |
147 | asset.Type = (sbyte) dbReader["assetType"]; | 147 | asset.Type = (sbyte) dbReader["assetType"]; |
148 | } | 148 | } |