diff options
author | worktycho <work.tycho@gmail.com> | 2015-06-25 16:46:33 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-06-25 16:46:33 +0200 |
commit | 7187c003422aae137b1000af04b9bc06c5c4e9d4 (patch) | |
tree | 5be1d79c3acddddb0c1c6622c401fa4537735599 /src/Bindings | |
parent | Merge pull request #2290 from bibo38/mousefix (diff) | |
parent | Buttons no longer click on when already on. Buttons now play sound when clicking off. (diff) | |
download | cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.tar cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.tar.gz cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.tar.bz2 cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.tar.lz cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.tar.xz cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.tar.zst cuberite-7187c003422aae137b1000af04b9bc06c5c4e9d4.zip |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/ManualBindings_World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_World.cpp b/src/Bindings/ManualBindings_World.cpp index ddbebce78..d9590de33 100644 --- a/src/Bindings/ManualBindings_World.cpp +++ b/src/Bindings/ManualBindings_World.cpp @@ -490,7 +490,7 @@ static int tolua_cWorld_ScheduleTask(lua_State * tolua_S) auto task = std::make_shared<cLuaScheduledWorldTask>(*Plugin, FnRef); Plugin->AddResettable(task); - World->ScheduleTask(DelayTicks, task); + World->ScheduleTask(DelayTicks, static_cast<cWorld::cTaskPtr>(task)); return 0; } |