comparison Vis.cpp @ 48:ca142e247b73

temporary commit, remove crashes
author zipi
date Mon, 21 Jan 2013 18:57:56 +0000
parents 415e1f2d5936
children 2ee78ed62d37
comparison
equal deleted inserted replaced
47:5629105aa178 48:ca142e247b73
1603 { 1603 {
1604 RenderVertexSoft pMouseRay[2]; // [sp+1Ch] [bp-60h]@1 1604 RenderVertexSoft pMouseRay[2]; // [sp+1Ch] [bp-60h]@1
1605 1605
1606 stru1.uNumPointers = 0; 1606 stru1.uNumPointers = 0;
1607 CastPickRay(pMouseRay, fMouseX, fMouseY, fDepth); 1607 CastPickRay(pMouseRay, fMouseX, fMouseY, fDepth);
1608 PickBillboards(fDepth, fMouseX, fMouseY, &stru1, a5); 1608 //PickBillboards(fDepth, fMouseX, fMouseY, &stru1, a5);
1609 if (uCurrentlyLoadedLevelType == LEVEL_Indoor) 1609 if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
1610 PickIndoor(fDepth, pMouseRay, &stru1, a6); 1610 PickIndoor(fDepth, pMouseRay, &stru1, a6);
1611 else 1611 else
1612 PickOutdoor(fDepth, pMouseRay, &stru1, a6, 0); 1612 PickOutdoor(fDepth, pMouseRay, &stru1, a6, 0);
1613 stru1.create_object_pointers(0); 1613 stru1.create_object_pointers(0);