mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-30 00:23:08 +00:00
fixed Swords moving randomly when having Orb of the Frog
This commit is contained in:
1 parent
c99c109a6e
commit
40d0c7e5e2
1 file changed
+2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user