comparison Vis.cpp @ 854:06fc66ceecd6

for Arcomage game
author Ritor1
date Sun, 31 Mar 2013 16:42:11 +0600
parents 0f56abdcce94
children cb0b3badc7f7
comparison
equal deleted inserted replaced
853:7ada14f991f5 854:06fc66ceecd6
535 int Vis::get_picked_object_zbuf_val() 535 int Vis::get_picked_object_zbuf_val()
536 { 536 {
537 if (!default_list.uNumPointers) 537 if (!default_list.uNumPointers)
538 return -1; 538 return -1;
539 539
540 return get_object_zbuf_val(default_list.object_pointers[0]); 540 return get_object_zbuf_val(default_list.object_pointers[0]);//Click to the Rat in dragon cave result crash. Maybe object_pointers incorrect
541 } 541 }
542 542
543 //----- (004C1C0C) -------------------------------------------------------- 543 //----- (004C1C0C) --------------------------------------------------------
544 bool Vis::Intersect_Ray_Face(RenderVertexSoft *pRayStart, RenderVertexSoft *pRayEnd, float *pDepth, RenderVertexSoft *a4, BLVFace *a5, unsigned int a6) 544 bool Vis::Intersect_Ray_Face(RenderVertexSoft *pRayStart, RenderVertexSoft *pRayEnd, float *pDepth, RenderVertexSoft *a4, BLVFace *a5, unsigned int a6)
545 { 545 {