added also showing native BD level story on level info screen
authorHolger Schemel <holger.schemel@virtion.de>
Mon, 18 Nov 2024 19:13:03 +0000 (20:13 +0100)
committerHolger Schemel <holger.schemel@virtion.de>
Mon, 18 Nov 2024 19:13:07 +0000 (20:13 +0100)
src/screens.c

index cebf4fdd8e70314d9b5ad10fd4bd87324540ea1c..e13a4f9bc79063c904bf0a9584a3acc66662d457 100644 (file)
@@ -1189,6 +1189,9 @@ static char *getLevelInfoBuffer(boolean from_info_menu)
   if (*level.native_bd_level->cave->description)
     addLineToInfoBuffer(&buffer, "Description", level.native_bd_level->cave->description);
 
+  if (level.native_bd_level->cave->story)
+    addTextToInfoBuffer(&buffer, "Story", level.native_bd_level->cave->story);
+
   if (level.native_bd_level->cave->remark)
     addTextToInfoBuffer(&buffer, "Remark", level.native_bd_level->cave->remark);