mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-24 16:16:14 +00:00
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_visual_collision_manager.h"
|
||||||
#include "nel/3d/u_shape_bank.h"
|
#include "nel/3d/u_shape_bank.h"
|
||||||
#include "nel/3d/stereo_hmd.h"
|
#include "nel/3d/stereo_hmd.h"
|
||||||
|
#include "nel/3d/stereo_ng_hmd.h"
|
||||||
// Client
|
// Client
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "release.h"
|
#include "release.h"
|
||||||
|
@ -516,6 +517,9 @@ void releaseStereoDisplayDevice()
|
||||||
{
|
{
|
||||||
if (StereoDisplay)
|
if (StereoDisplay)
|
||||||
{
|
{
|
||||||
|
if (NoLogout && StereoNGHMD)
|
||||||
|
StereoNGHMD->killUser();
|
||||||
|
|
||||||
delete StereoDisplay;
|
delete StereoDisplay;
|
||||||
StereoDisplay = NULL;
|
StereoDisplay = NULL;
|
||||||
StereoHMD = NULL;
|
StereoHMD = NULL;
|
||||||
|
|
Loading…
Reference in a new issue