mirror of
				https://github.com/MaddyThorson/StrawberryBF.git
				synced 2025-11-01 01:11:32 +08:00 
			
		
		
		
	Some quick warning fixes
This commit is contained in:
		| @ -171,7 +171,7 @@ namespace Strawberry | ||||
| 		{ | ||||
| 			Scene?.Draw(); | ||||
|  | ||||
| 			if (Console.Enabled) | ||||
| 			if (Strawberry.Console.Enabled) | ||||
| 				Strawberry.Console.[Friend]Draw(); | ||||
|  | ||||
| 			Batcher.Draw(); | ||||
|  | ||||
| @ -34,7 +34,7 @@ namespace Strawberry | ||||
|  | ||||
| 		static public void DisposeAll() | ||||
| 		{ | ||||
| 			DeleteDictionaryAndKeysAndItems!(Textures); | ||||
| 			DeleteDictionaryAndKeysAndValues!(Textures); | ||||
| 			Sprite.[Friend]Dispose(); | ||||
| 		} | ||||
|  | ||||
|  | ||||
| @ -96,7 +96,7 @@ namespace Strawberry | ||||
| 		[Command("clear", "Clears the console window")] | ||||
| 		static public void Clear() | ||||
| 		{ | ||||
| 			DeleteAndClearItems!(messages); | ||||
| 			ClearAndDeleteItems!(messages); | ||||
| 		} | ||||
|  | ||||
| 		static private void Update() | ||||
|  | ||||
| @ -74,6 +74,7 @@ namespace Strawberry | ||||
| 			return Vector(a.X, a.Y); | ||||
| 		} | ||||
|  | ||||
| 		[Commutable] | ||||
| 		static public bool operator==(Vector a, Vector b) | ||||
| 		{ | ||||
| 			return a.X == b.X && a.Y == b.Y; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user