Bugfix: Kill users who attempt to escape the game
This commit is contained in:
parent
2d5a084c71
commit
3dcc7ea7f9
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "nel/3d/u_visual_collision_manager.h"
|
||||
#include "nel/3d/u_shape_bank.h"
|
||||
#include "nel/3d/stereo_hmd.h"
|
||||
#include "nel/3d/stereo_ng_hmd.h"
|
||||
// Client
|
||||
#include "global.h"
|
||||
#include "release.h"
|
||||
|
@ -516,6 +517,9 @@ void releaseStereoDisplayDevice()
|
|||
{
|
||||
if (StereoDisplay)
|
||||
{
|
||||
if (NoLogout && StereoNGHMD)
|
||||
StereoNGHMD->killUser();
|
||||
|
||||
delete StereoDisplay;
|
||||
StereoDisplay = NULL;
|
||||
StereoHMD = NULL;
|
||||
|
|
Loading…
Reference in a new issue