This commit is contained in:
Paul 2001-05-03 18:42:56 +00:00
parent 628caff495
commit 48197daae3
3 changed files with 41 additions and 33 deletions

View file

@ -306,7 +306,9 @@ void CGameScene::initLevel()
m_player->setRespawnPos(Level.getPlayerSpawnPos());
m_player->init();
m_player->setLayerCollision(Level.getCollisionLayer());
m_player->setMapSize(Level.getMapSize());
DVECTOR mapSize=Level.getMapSize();
CPlayer::CameraBox camBox={0,0,mapSize.vx,mapSize.vy};
m_player->setCameraBox(camBox);
// Init actors (needs moving and tidying
int actorNum;