mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +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)
|
else if(cryst)
|
||||||
s = crystal::get_table_boundary();
|
s = crystal::get_table_boundary();
|
||||||
#endif
|
#endif
|
||||||
else if(!quotient)
|
else if(!quotient && rad)
|
||||||
s = expansion.get_descendants(rad).get_str(100);
|
s = expansion.get_descendants(rad).get_str(100);
|
||||||
if(s == "") { msgid++; goto retry; }
|
if(s == "") { msgid++; goto retry; }
|
||||||
addMessage(XLAT("\"Our Table seats %1 Knights!\"", s));
|
addMessage(XLAT("\"Our Table seats %1 Knights!\"", s));
|
||||||
@ -470,7 +470,7 @@ EX void knightFlavorMessage(cell *c2) {
|
|||||||
else if(cryst)
|
else if(cryst)
|
||||||
s = crystal::get_table_volume();
|
s = crystal::get_table_volume();
|
||||||
#endif
|
#endif
|
||||||
else if(!quotient)
|
else if(!quotient && rad)
|
||||||
s = expansion.get_descendants(rad-1, expansion.diskid).get_str(100);
|
s = expansion.get_descendants(rad-1, expansion.diskid).get_str(100);
|
||||||
if(s == "") { msgid++; goto retry; }
|
if(s == "") { msgid++; goto retry; }
|
||||||
addMessage(XLAT("\"There are %1 floor tiles inside our Table!\"", s));
|
addMessage(XLAT("\"There are %1 floor tiles inside our Table!\"", s));
|
||||||
|
Loading…
Reference in New Issue
Block a user