1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Fix API usage errors

This commit is contained in:
Andrei Kortunov 2019-02-17 11:57:18 +04:00
parent 229bd8505e
commit 9de0c9045a

View File

@ -631,7 +631,7 @@ namespace
if (page+2 < book->pageCount())
{
MWBase::Environment::get().getWindowManager()->playSound("book page", true);
MWBase::Environment::get().getWindowManager()->playSound("book page");
page += 2;
updateShowingPages ();
@ -649,7 +649,7 @@ namespace
if(page >= 2)
{
MWBase::Environment::get().getWindowManager()->playSound("book page", true);
MWBase::Environment::get().getWindowManager()->playSound("book page");
page -= 2;
updateShowingPages ();