fixed Swords moving randomly when having Orb of the Frog

This commit is contained in:
Zeno Rogue 2020-03-07 23:47:31 +01:00
parent c99c109a6e
commit 40d0c7e5e2
1 changed files with 2 additions and 0 deletions

View File

@ -2876,6 +2876,8 @@ EX namespace sword {
}
void shuffle(int i) {
changes.value_keep(dir[i].angle);
changes.value_keep(dir[i].T);
dir[i].angle = hrand(sword_angles);
if(SWORDDIM == 3) dir[i].T = initial_matrix();
}