1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

do not updateHi prematurely as it creates a modecode

This commit is contained in:
Zeno Rogue 2024-06-22 02:04:09 +02:00
parent f652992602
commit b587851f47

View File

@ -513,6 +513,7 @@ EX void updateHi_for_code(eItem it, int v, modecode_t xcode) {
}
EX void updateHi(eItem it, int v) {
LATE ( updateHi(it, v) );
updateHi_for_code(it, v, modecode());
}