diff IndoorCameraD3D.cpp @ 871:710cf848ad24

Particle engine made working.
author Nomad
date Mon, 01 Apr 2013 13:39:19 +0200
parents 472ca68386d4
children c45d51b3f4f4
line wrap: on
line diff
--- a/IndoorCameraD3D.cpp	Thu Mar 28 00:37:58 2013 +0400
+++ b/IndoorCameraD3D.cpp	Mon Apr 01 13:39:19 2013 +0200
@@ -94,6 +94,17 @@
   //v1->vdestructor_ptr = &stru8_pvdtor;
 }
 
+
+//----- (0043643E) --------------------------------------------------------
+float IndoorCameraD3D::GetPickDepth()
+{
+  if ( uCurrentlyLoadedLevelType == LEVEL_Outdoor)
+    return pOutdoorCamera->uPickDepth;
+  else
+    return 16192.0;
+}
+
+
 //----- (004364C5) --------------------------------------------------------
 void IndoorCameraD3D::ViewTransfrom_OffsetUV(RenderVertexSoft *pVertices, unsigned int uNumVertices, RenderVertexSoft *pOutVertices, stru320 *a5)
 {