mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-28 14:49:54 +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:
commit
cb71817cf1
@ -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