- fixed: The statusbar's MustDrawLog method was called with an incorrect number of parameters.

This commit is contained in:
Christoph Oelckers 2017-06-02 10:05:39 +02:00
parent 797cb94b4f
commit 1df7dc81e6

View file

@ -1079,7 +1079,7 @@ bool DBaseStatusBar::MustDrawLog(EHudState state)
{ {
IFVIRTUAL(DBaseStatusBar, MustDrawLog) IFVIRTUAL(DBaseStatusBar, MustDrawLog)
{ {
VMValue params[] = { (DObject*)this }; VMValue params[] = { (DObject*)this, int(state) };
int rv; int rv;
VMReturn ret(&rv); VMReturn ret(&rv);
VMCall(func, params, countof(params), &ret, 1); VMCall(func, params, countof(params), &ret, 1);