Skip to content

Commit

Permalink
Added missing return value to lua-exported "accessible_nearest" funct…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
ShokerStlk committed Feb 17, 2017
1 parent bbadd41 commit 7dbf571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/script_game_object_script3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class_<CScriptGameObject>& script_register_game_object2(class_<CScriptGameObject
.def("base_out_restrictions", &CScriptGameObject::base_out_restrictions)
.def("accessible", &CScriptGameObject::accessible_position)
.def("accessible", &CScriptGameObject::accessible_vertex_id)
.def("accessible_nearest", &CScriptGameObject::accessible_nearest)
.def("accessible_nearest", &CScriptGameObject::accessible_nearest, out_value<3>())

//////////////////////////////////////////////////////////////////////////
.def("enable_attachable_item", &CScriptGameObject::enable_attachable_item)
Expand Down

0 comments on commit 7dbf571

Please sign in to comment.