Fixed bug in metarule2_explosions, possible fix for #67

This commit is contained in:
phobos2077
2017-02-24 01:32:32 +07:00
parent 38438d1e9c
commit a30464cfae
+1 -1
View File
@@ -176,7 +176,7 @@ DWORD _stdcall ExplosionsMetaruleFunc(DWORD mode, DWORD arg1, DWORD arg2) {
SafeWrite32(explosion_radius_rocket, arg1); SafeWrite32(explosion_radius_rocket, arg1);
break; break;
case EXPL_FORCE_EXPLOSION_DMGTYPE: case EXPL_FORCE_EXPLOSION_DMGTYPE:
for (i=0; i<4; i++) { for (i=0; i<5; i++) {
SafeWrite8(explosion_dmg_check_adr[i], (BYTE)arg1); SafeWrite8(explosion_dmg_check_adr[i], (BYTE)arg1);
} }
break; break;