- removed the no longer needed exception prevention hack.

# Conflicts:
#	src/scripting/vm/vmframe.cpp
This commit is contained in:
Christoph Oelckers 2018-12-01 14:26:15 +01:00
commit 85a3edf583
4 changed files with 7 additions and 46 deletions

View file

@ -506,6 +506,7 @@ DEFINE_ACTION_FUNCTION(DBrokenLines, StringWidth)
DEFINE_ACTION_FUNCTION(DBrokenLines, StringAt)
{
PARAM_SELF_PROLOGUE(DBrokenLines);
PARAM_INT(index);
ACTION_RETURN_STRING((unsigned)index >= self->mBroken.Size() ? -1 : self->mBroken[index].Text);