1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-27 09:21:28 +00:00
This commit is contained in:
Dragorn421 2025-02-18 09:48:46 +01:00
parent 26c9e8688e
commit d2624056d9
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
3 changed files with 3 additions and 8 deletions

View file

@ -24,8 +24,7 @@ class CData(abc.ABC):
# Unpack
@abc.abstractmethod
def unpack_from(self, data: memoryview, offset: int = 0) -> Any:
...
def unpack_from(self, data: memoryview, offset: int = 0) -> Any: ...
class CData_Value(CData):
@ -121,7 +120,6 @@ class CData_Struct(CData):
def try_stuff():
"""
struct {
s8 fun;

View file

@ -175,10 +175,7 @@ class LegacyAnimationResource(CDataResource):
resource_jointKey.file,
)
if (
resource_frameData.range_start
< resource_jointKey.range_start
):
if resource_frameData.range_start < resource_jointKey.range_start:
resource_frameData.length = (
resource_jointKey.range_start - resource_frameData.range_start
) // animation_resources.AnimationFrameDataResource.elem_cdata_ext.size