mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
Fix crash when talking to a Knight in the Temple of Cthulhu
This commit is contained in:
parent
4799f7c5f7
commit
e544826a94
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user