Remove printf BUG: projectile_index invalid (Fixes #5)

This commit is contained in:
Snesrev
2023-03-16 09:48:43 +01:00
parent b53d6e1c4f
commit 41a4b81783

View File

@@ -2625,8 +2625,8 @@ uint8 PlmSetup_Door_Colored(uint16 j) { // 0x84C7B1
} }
uint8 PlmSetup_Door_Blue(uint16 j) { // 0x84C7BB uint8 PlmSetup_Door_Blue(uint16 j) { // 0x84C7BB
if (sign16(projectile_index)) // if (sign16(projectile_index))
printf("BUG: projectile_index invalid\n"); // printf("BUG: projectile_index invalid\n");
if (!sign16(projectile_index) && (projectile_type[projectile_index >> 1] & 0xF00) == 768) { if (!sign16(projectile_index) && (projectile_type[projectile_index >> 1] & 0xF00) == 768) {
plm_header_ptr[j >> 1] = 0; plm_header_ptr[j >> 1] = 0;
} else { } else {