Permalink
Browse files

Add LUA hooks to initialise env_beam entities

  • Loading branch information...
1 parent 8321e29 commit 5c4bfa0add090c800545cd4054eb6aa29ecb1332 @AfterShockFF AfterShockFF committed Feb 12, 2017
Showing with 3 additions and 1 deletion.
  1. +3 −1 dlls/ff/ff_lualib_misc.cpp
@@ -42,7 +42,9 @@ void CFFLuaLib::InitMisc(lua_State* L)
[
// CBeam
class_<CBeam, CBaseEntity>("Beam")
- .def("SetColor", &CBeam::SetColor),
+ .def("SetColor", &CBeam::SetColor)
+ .def("SetStartAndEndEntities", &CBeam::EntsInit)
+ .def("SetSpriteAndWidth", &CBeam::BeamInit)
class_<Color>("CustomColor")
.def(tostring(self))

0 comments on commit 5c4bfa0

Please sign in to comment.