From bbd0f09f90dec3ced10e833cc3339513c2d7c395 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 23 Jan 2017 11:20:30 +0000 Subject: [PATCH] weapons.con.sample: No need to andvar before getting a sine value. The source does that for us. git-svn-id: https://svn.eduke32.com/eduke32@6031 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/package/sdk/samples/weapons.con.sample | 4 ---- 1 file changed, 4 deletions(-) diff --git a/polymer/eduke32/package/sdk/samples/weapons.con.sample b/polymer/eduke32/package/sdk/samples/weapons.con.sample index 7e89addf3..265ef0722 100644 --- a/polymer/eduke32/package/sdk/samples/weapons.con.sample +++ b/polymer/eduke32/package/sdk/samples/weapons.con.sample @@ -242,7 +242,6 @@ state draw_shrunk_fists // Shrunk Running Fists } // common calculations continued setvarvar hud_temp2 hud_fistsign - andvar hud_temp2 2047 sin hud_temp2 hud_temp2 setvarvar hud_temp4 hud_temp2 shiftvarr hud_temp2 10 @@ -455,7 +454,6 @@ state draw_rpg // RPG_WEAPON: setvarvar hud_temp weaponcount shiftvarl hud_temp 7 addvar hud_temp 768 - andvar hud_temp 2047 sin hud_temp hud_temp shiftvarr hud_temp 11 @@ -1430,7 +1428,6 @@ state draw_expander // GROW_WEAPON: addvar hud_tilenum 2 getplayer[THISACTOR].random_club_frame hud_shade - andvar hud_shade 2047 sin hud_shade hud_shade shiftvarr hud_shade 10 mulvar hud_shade -1 @@ -1532,7 +1529,6 @@ state draw_shrinker // SHRINKER_WEAPON: addvar hud_tilenum 2 getplayer[THISACTOR].random_club_frame hud_shade - andvar hud_shade 2047 sin hud_shade hud_shade shiftvarr hud_shade 10 mulvar hud_shade -1