From 321b43070cc4902610bb09d73d1684d4e82efe2e Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 23 Jan 2001 22:01:26 +0000 Subject: [PATCH] --- source/game/game.cpp | 5 ++++- source/gui/gbubbles.cpp | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/game/game.cpp b/source/game/game.cpp index bc2078ec4..b10248336 100644 --- a/source/game/game.cpp +++ b/source/game/game.cpp @@ -128,8 +128,11 @@ void CGameScene::think(int _frames) CConversation::think(_frames); if(!CConversation::isActive()) { + DVECTOR mapPos; CThing::thinkAllThings(_frames); - Level.setCameraCentre(m_player->getPos()); + mapPos=m_player->getPos(); + CBubicleFactory::setMapOffset(&mapPos); + Level.setCameraCentre(mapPos); Level.think(_frames); } } diff --git a/source/gui/gbubbles.cpp b/source/gui/gbubbles.cpp index c2aa6cb2e..06b20f631 100644 --- a/source/gui/gbubbles.cpp +++ b/source/gui/gbubbles.cpp @@ -46,6 +46,7 @@ BubicleEmitterData CGUIBubbles::s_emitterData= 200,200,312,25, // m_x,m_y,m_w,m_h 4,1, // m_birthRate,m_birthAmount -1, // m_life + false, // m_applyMapOffsets { // m_bubicleBase 100, // m_life 0,0,0, // m_vx,m_vdx,m_vxmax