Use new let syntax for multiple returns.
This commit is contained in:
parent
c636e0e787
commit
525b9e33eb
46 changed files with 143 additions and 244 deletions
|
|
@ -52,9 +52,9 @@ extend Class SWWMHandler
|
|||
}
|
||||
let mo = players[consoleplayer].mo;
|
||||
if ( !ctr ) ctr = new("SWWMCrosshairTracer");
|
||||
Vector3 x, y, z, ofs, origin;
|
||||
Vector3 ofs, origin;
|
||||
Color col;
|
||||
[x, y, z] = SWWMUtility.GetAxes(e.ViewAngle,e.ViewPitch,e.ViewRoll);
|
||||
let [x, y, z] = SWWMUtility.GetAxes(e.ViewAngle,e.ViewPitch,e.ViewRoll);
|
||||
int chp = crosshairhealth;
|
||||
for ( int i=0; i<numcrosshairs; i++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue