diff options
Diffstat (limited to 'Mouse.cs')
| -rw-r--r-- | Mouse.cs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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."); |
