1
0
Fork 0

Update missiles.cpp

pull/12/head
galaxyhaxz 2018-06-14 02:05:18 -05:00 committed by GitHub
parent f994953244
commit 211fcb6f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -595,7 +595,7 @@ void __fastcall GetDamageAmt(int i, int *mind, int *maxd)
*mind = v14; *mind = v14;
} }
v16 = maxd; v16 = maxd;
v5 = 2 * plr[myplr]._pLevel + 40; v5 = 2 * plr[myplr]._pLevel + 40; // BUG_FIX: 2 * (plr[myplr]._pLevel + 20) + 4
*maxd = v5; *maxd = v5;
if ( v4 <= 0 ) if ( v4 <= 0 )
return; return;
@ -722,7 +722,7 @@ LABEL_43:
*mind = v24; *mind = v24;
} }
v16 = maxd; v16 = maxd;
v5 = 2 * plr[myplr]._pLevel + 40; v5 = 2 * plr[myplr]._pLevel + 40; // BUG_FIX: 2 * (plr[myplr]._pLevel + 20) + 4
*maxd = v5; *maxd = v5;
if ( v4 <= 0 ) if ( v4 <= 0 )
return; return;