mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 02:07:57 +00:00
fixed Swords moving randomly when having Orb of the Frog
This commit is contained in:
@@ -2876,6 +2876,8 @@ EX namespace sword {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void shuffle(int i) {
|
void shuffle(int i) {
|
||||||
|
changes.value_keep(dir[i].angle);
|
||||||
|
changes.value_keep(dir[i].T);
|
||||||
dir[i].angle = hrand(sword_angles);
|
dir[i].angle = hrand(sword_angles);
|
||||||
if(SWORDDIM == 3) dir[i].T = initial_matrix();
|
if(SWORDDIM == 3) dir[i].T = initial_matrix();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user