Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Causeless authored Nov 26, 2023
1 parent 4cd26b0 commit 22e1b78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Lua/LuaBindingsEntities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1351,10 +1351,10 @@ namespace RTE {
.def("GetTotalValue", &LuaAdaptersSceneObject::GetTotalValue)

.enum_("BuyableMode")[
luabind::value("NORESTRICTIONS", SceneObject::BuyableMode::NoRestrictions),
luabind::value("BUYMENUONLY", SceneObject::BuyableMode::BuyMenuOnly),
luabind::value("OBJECTPICKERONLY", SceneObject::BuyableMode::ObjectPickerOnly),
luabind::value("SCRIPTONLY", SceneObject::BuyableMode::ScriptOnly)];
luabind::value("NORESTRICTIONS", static_cast<int>(SceneObject::BuyableMode::NoRestrictions)),
luabind::value("BUYMENUONLY", static_cast<int>(SceneObject::BuyableMode::BuyMenuOnly)),
luabind::value("OBJECTPICKERONLY", static_cast<int>(SceneObject::BuyableMode::ObjectPickerOnly)),
luabind::value("SCRIPTONLY", static_cast<int>(SceneObject::BuyableMode::ScriptOnly))];

}

Expand Down Expand Up @@ -1493,4 +1493,4 @@ namespace RTE {
.def("AddMountedDevice", &Turret::AddMountedDevice, luabind::adopt(_2))
.def("AddMountedDevice", &LuaAdaptersTurret::AddMountedFirearm, luabind::adopt(_2));
}
}
}

0 comments on commit 22e1b78

Please sign in to comment.