From e544826a94ae7223b981752dfadeb1b28ea17401 Mon Sep 17 00:00:00 2001 From: Jesse Ruderman Date: Fri, 9 Jul 2021 21:33:25 -0700 Subject: [PATCH] Fix crash when talking to a Knight in the Temple of Cthulhu --- complex2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/complex2.cpp b/complex2.cpp index df1920e2..746f6dff 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -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));