mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Remove unnecessary lines in actor bindings
This commit is contained in:
parent
348ef6ff2f
commit
c6156011c8
@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
#include "apps/openmw/mwbase/environment.hpp"
|
#include "apps/openmw/mwbase/environment.hpp"
|
||||||
#include "apps/openmw/mwworld/esmstore.hpp"
|
#include "apps/openmw/mwworld/esmstore.hpp"
|
||||||
#include <components/esm3/loadclas.hpp>
|
|
||||||
#include <components/esm3/loadnpc.hpp>
|
|
||||||
|
|
||||||
#include "../context.hpp"
|
#include "../context.hpp"
|
||||||
|
|
||||||
@ -57,11 +55,9 @@ namespace MWLua
|
|||||||
sol::table travelDests(lua, sol::create);
|
sol::table travelDests(lua, sol::create);
|
||||||
if (!rec.getTransport().empty())
|
if (!rec.getTransport().empty())
|
||||||
{
|
{
|
||||||
|
|
||||||
int index = 1;
|
int index = 1;
|
||||||
for (const auto& dest : rec.getTransport())
|
for (const auto& dest : rec.getTransport())
|
||||||
{
|
{
|
||||||
|
|
||||||
sol::table travelDest(lua, sol::create);
|
sol::table travelDest(lua, sol::create);
|
||||||
|
|
||||||
ESM::RefId cellId;
|
ESM::RefId cellId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user