*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@884 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -70,7 +70,7 @@ inline float ma(float x, float y) { return x==0 ? (y>0 ? 2 : -2) : y/x; }
|
||||
|
||||
int isoccluded(float vx, float vy, float cx, float cy, float csize) // v = viewer, c = cube to test
|
||||
{
|
||||
if(!ocull) return 0;
|
||||
if(!ocull || minimap) return 0;
|
||||
|
||||
float nx = vx, ny = vy; // n = point on the border of the cube that is closest to v
|
||||
if(nx<cx) nx = cx;
|
||||
|
||||
Reference in New Issue
Block a user