mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-19 16:07:40 +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) {
|
||||
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