Expose P_ResetCamera / camera->reset to Lua
Compare changes
+ 14
− 0
@@ -1685,6 +1685,19 @@ static int lib_pHomingAttack(lua_State *L)
@@ -4303,6 +4316,7 @@ static luaL_Reg lib[] = {
As it says in the title. P_ResetCamera
is useful if you're looking to reset the camera back to its default positioning, particularly after teleporting the player, while camera->reset
will reset the camera's interpolation once !2008 (merged) gets merged. The former will also set the latter too.