From 19af8a3a8243af25510dffa76f1c4f6625e39f44 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 20 Feb 2016 23:13:44 -0600 Subject: [PATCH] Change error message for missing return --- src/thingdef/thingdef_states.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_states.cpp b/src/thingdef/thingdef_states.cpp index 32a6b0913..50b03eb27 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -372,7 +372,7 @@ void AddImplicitReturn(FxSequence *code, const PPrototype *proto, FScanner &sc) else { // Something was returned earlier in the sequence. Make it an error // instead of adding an implicit one. - sc.ScriptError("Action list must return a value"); + sc.ScriptError("Not all paths return a value"); } }