mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 05:01:41 +00:00
Change error message for missing return
This commit is contained in:
parent
e7b9e7e955
commit
19af8a3a82
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue