mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	convert parse_zspr to staticmethod
This commit is contained in:
		| @@ -662,7 +662,8 @@ class Sprite(): | ||||
|                 arr[y + 8][x + 8] = bottom_right[y][x] | ||||
|         return arr | ||||
|  | ||||
|     def parse_zspr(self, filedata, expected_kind): | ||||
|     @staticmethod | ||||
|     def parse_zspr(filedata, expected_kind): | ||||
|         logger = logging.getLogger('ZSPR') | ||||
|         headerstr = "<4xBHHIHIHH6x" | ||||
|         headersize = struct.calcsize(headerstr) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fabian Dill
					Fabian Dill