mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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
|
else
|
||||||
{ // Something was returned earlier in the sequence. Make it an error
|
{ // Something was returned earlier in the sequence. Make it an error
|
||||||
// instead of adding an implicit one.
|
// 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