mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-20 01:01:05 +00:00
Do not pass declarations in the middle of code
This commit is contained in:
parent
d044437334
commit
c3694ab1fa
1 changed files with 1 additions and 2 deletions
|
@ -6792,8 +6792,7 @@ void P_ConvertBinaryLinedefs(void)
|
|||
lines[i].special = 305;
|
||||
break;
|
||||
lines[i].args[1] = (lines[i].flags & ML_BOUNCY) ? 2 : 1;
|
||||
int ability = (P_AproxDistance(lines[i].dx, lines[i].dy) >> FRACBITS) / 10;
|
||||
lines[i].args[2] = 1 << ability;
|
||||
lines[i].args[2] = 1 << (int)((P_AproxDistance(lines[i].dx, lines[i].dy) >> FRACBITS) / 10);
|
||||
lines[i].special = 305;
|
||||
break;
|
||||
case 308: //Trigger linedef executor: Race only - once
|
||||
|
|
Loading…
Reference in a new issue