Remove unnecessary lines in actor bindings

pull/3236/head
Alexei Kotov 6 months ago
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…
Cancel
Save