GRIM: Allow SayLine messages of zero length. Fixes #199

This commit is contained in:
Joni Vähämäki 2011-06-11 18:25:25 +03:00
parent 27ec9c2920
commit 5ea33b4f7f
2 changed files with 29 additions and 28 deletions

View file

@ -498,9 +498,8 @@ void L1_SayLine() {
}
paramObj = lua_getparam(paramId++);
}
if (!msg.empty()) {
actor->sayLine(msg.c_str(), msgId, background); //background, vol, pan, x, y
}
actor->sayLine(msg.c_str(), msgId, background); //background, vol, pan, x, y
}
}
}