1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

Merge pull request #199 from jruderman/f7

Fix crash when talking to a Knight in the Temple of Cthulhu
This commit is contained in:
Zeno Rogue
2021-07-10 09:31:52 +02:00
committed by GitHub

View File

@@ -458,7 +458,7 @@ EX void knightFlavorMessage(cell *c2) {
else if(cryst)
s = crystal::get_table_boundary();
#endif
else if(!quotient)
else if(!quotient && rad)
s = expansion.get_descendants(rad).get_str(100);
if(s == "") { msgid++; goto retry; }
addMessage(XLAT("\"Our Table seats %1 Knights!\"", s));
@@ -470,7 +470,7 @@ EX void knightFlavorMessage(cell *c2) {
else if(cryst)
s = crystal::get_table_volume();
#endif
else if(!quotient)
else if(!quotient && rad)
s = expansion.get_descendants(rad-1, expansion.diskid).get_str(100);
if(s == "") { msgid++; goto retry; }
addMessage(XLAT("\"There are %1 floor tiles inside our Table!\"", s));