Browse Source

fix doubleoffset

master
Alison Watson 2 months ago
parent
commit
4eabcecb08
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      pk7/lzscript/Weapons/Base.zsc

+ 4
- 4
pk7/lzscript/Weapons/Base.zsc View File

@@ -230,10 +230,10 @@ action(Weapon) void Lith_A_DoubleState(bool oscillate, statelabel lh, statelabel
}

action(Weapon) void Lith_A_DoubleOffset(bool left, int x, int y) {
int which = left ? _psp_double_lg : _psp_double_rg;
for(int i = 0; i < 2; i++) {
A_OverlayOffset(which + i, x, y);
}
int fst = left ? _psp_double_lg : _psp_double_rg;
int snd = left ? _psp_double_lf : _psp_double_rf;
A_OverlayOffset(fst, x, y);
A_OverlayOffset(snd, x, y);
}

action(Weapon) state Lith_A_Ready(int flags = 0) {


Loading…
Cancel
Save