summaryrefslogtreecommitdiff
path: root/Mouse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Mouse.cs')
-rw-r--r--Mouse.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mouse.cs b/Mouse.cs
index 544344e..c0bceda 100644
--- a/Mouse.cs
+++ b/Mouse.cs
@@ -20,9 +20,9 @@ abstract class Mouse : Drawable
DrawOrder = 100;
allMice.Add(this);
- string CursorPath = "mddisc/cursor.png";
+ string CursorPath = OnekoOnline.Config.GetValue("CursorSpritePath", "misc/cursor.png");
- if (File.Exists(CursorPath) && new FileInfo(CursorPath).Length < 12*19*3) {
+ if (File.Exists(CursorPath) && new FileInfo(CursorPath).Length < 2500) {
Cursor = Bitmap.FromPNGMemory(File.ReadAllBytes(CursorPath));
} else {
Console.WriteLine("The cursor PNG was either mising or too big. Using the default.");