Fixed: Crash when cursor is over WebPage, Outpost or WebIG at first frame, patch by kishan_grimout (issue #245)

This commit is contained in:
kervala 2015-11-03 13:40:49 +01:00
parent 7289ba2cc3
commit 170fa80d6f

View file

@ -52,6 +52,9 @@ namespace NLGUI
_TxIdPanR2 = -2; _TxIdPanR2 = -2;
_TxIdCanPanR2 = -2; _TxIdCanPanR2 = -2;
_OffsetX = 0;
_OffsetY = 0;
// The pointer must be draw over ALL layers // The pointer must be draw over ALL layers
_RenderLayer= VR_LAYER_MAX; _RenderLayer= VR_LAYER_MAX;
_Color = CRGBA(255,255,255,255); _Color = CRGBA(255,255,255,255);
@ -59,6 +62,7 @@ namespace NLGUI
_StringMode = false; _StringMode = false;
_ForceStringMode = false; _ForceStringMode = false;
_StringCursor = NULL; _StringCursor = NULL;
_StringCursorHardware = NULL;
} }
void CViewPointer::forceLink() void CViewPointer::forceLink()