@@ -178,6 +178,8 @@ moveloop_core(void)
|
||||
#ifdef POSITIONBAR
|
||||
do_positionbar();
|
||||
#endif
|
||||
if (iflags.pending_customizations)
|
||||
maybe_shuffle_customizations();
|
||||
|
||||
dobjsfree();
|
||||
|
||||
|
||||
13
src/glyphs.c
13
src/glyphs.c
@@ -568,15 +568,22 @@ apply_customizations(
|
||||
}
|
||||
}
|
||||
}
|
||||
if (at_least_one) {
|
||||
shuffle_customizations();
|
||||
}
|
||||
iflags.pending_customizations = at_least_one;
|
||||
}
|
||||
|
||||
/* Shuffle the customizations to match shuffled object descriptions,
|
||||
* so a red potion isn't displayed with a blue customization, and so on.
|
||||
*/
|
||||
|
||||
void
|
||||
maybe_shuffle_customizations(void)
|
||||
{
|
||||
if (iflags.pending_customizations) {
|
||||
shuffle_customizations();
|
||||
iflags.pending_customizations = 0;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
staticfn void
|
||||
shuffle_customizations(void)
|
||||
|
||||
Reference in New Issue
Block a user