This commit is contained in:
parent
80a6c35255
commit
1237239ec1
1 changed files with 2 additions and 2 deletions
|
@ -1191,8 +1191,8 @@ bool CThing::isOnScreen(DVECTOR Pos)
|
|||
sBBox &ScrBBox=CThingManager::getRenderBBox();
|
||||
DVECTOR const &CamPos=CLevel::getCameraPos();
|
||||
|
||||
Pos.vx-=CamPos.vx;
|
||||
Pos.vy-=CamPos.vy;
|
||||
// Pos.vx-=CamPos.vx;
|
||||
// Pos.vy-=CamPos.vy;
|
||||
|
||||
if (Pos.vx<ScrBBox.XMin) return(false);
|
||||
if (Pos.vx>ScrBBox.XMax) return(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue