From e494200c218b8e575de12174f91f4615cef5a27e Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 1 Apr 2014 13:54:39 +0200 Subject: [PATCH] Bugfix: Kill users who attempt to escape the game --- code/ryzom/client/src/release.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/ryzom/client/src/release.cpp b/code/ryzom/client/src/release.cpp index b8f34c277..cdf5dbcb5 100644 --- a/code/ryzom/client/src/release.cpp +++ b/code/ryzom/client/src/release.cpp @@ -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;