This commit is contained in:
parent
6c5c1fba9b
commit
f81d0c4b5e
15 changed files with 424 additions and 211 deletions
|
@ -128,11 +128,15 @@ void CGameScene::think(int _frames)
|
|||
CConversation::think(_frames);
|
||||
if(!CConversation::isActive())
|
||||
{
|
||||
DVECTOR mapPos;
|
||||
DVECTOR camPos;
|
||||
CThing::thinkAllThings(_frames);
|
||||
mapPos=m_player->getPos();
|
||||
CBubicleFactory::setMapOffset(&mapPos);
|
||||
Level.setCameraCentre(mapPos);
|
||||
camPos=m_player->getCameraPos();
|
||||
//PKG
|
||||
if(camPos.vx<0)camPos.vx=0;
|
||||
if(camPos.vy<0)camPos.vy=0;
|
||||
//PKG
|
||||
CBubicleFactory::setMapOffset(&camPos);
|
||||
Level.setCameraCentre(camPos);
|
||||
Level.think(_frames);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue