RezeroPixelmaps matching

This commit is contained in:
Dethrace Labs 2025-11-03 10:28:41 +13:00 committed by Dethrace Engineering Department
parent a312d6d201
commit e6445f10ab
1 changed files with 1 additions and 3 deletions

View File

@ -690,9 +690,7 @@ void DRLoadShadeTable(char* pPath_name) {
// IDA: void __usercall RezeroPixelmaps(br_pixelmap **pPixelmap_array@<EAX>, int pCount@<EDX>)
// FUNCTION: CARM95 0x0041d7b6
void RezeroPixelmaps(br_pixelmap** pPixelmap_array, int pCount) {
while (pCount != 0) {
pCount--;
while (--pCount >= 0) {
pPixelmap_array[pCount]->origin_x = 0;
pPixelmap_array[pCount]->origin_y = 0;
}