This commit is contained in:
parent
d79fba5228
commit
c3f2c27e6d
6 changed files with 64 additions and 40 deletions
|
@ -812,7 +812,7 @@ void CGameScene::initLevel()
|
|||
{
|
||||
m_player->setCanExitLevelNow();
|
||||
}
|
||||
DVECTOR mapSize=Level.getMapSize();
|
||||
DVECTOR const &mapSize=Level.getMapSize();
|
||||
CPlayer::CameraBox camBox={0,0,mapSize.vx<<4,mapSize.vy<<4};
|
||||
m_player->setCameraBox(camBox);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue