From 6442e2d2331ce56d4f68035f579fe502f44893a6 Mon Sep 17 00:00:00 2001 From: KorGgenT Date: Wed, 30 Sep 2020 17:53:07 -0400 Subject: [PATCH] add return to shape function --- src/magic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/magic.cpp b/src/magic.cpp index 950efa6852260..a1a1dffcf8b8f 100644 --- a/src/magic.cpp +++ b/src/magic.cpp @@ -980,7 +980,7 @@ std::string spell::colorized_fail_percent( const Character &guy ) const spell_shape spell::shape() const { - type->spell_area; + return type->spell_area; } int spell::xp() const