This commit is contained in:
parent
6bbad37e56
commit
5156a583da
1 changed files with 11 additions and 0 deletions
|
@ -31,6 +31,14 @@
|
||||||
#include "game\gamebubs.h"
|
#include "game\gamebubs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __LEVEL_LEVEL_H__
|
||||||
|
#include "level\level.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GAME_GAME_H__
|
||||||
|
#include "game\game.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Std Lib
|
/* Std Lib
|
||||||
------- */
|
------- */
|
||||||
|
@ -128,8 +136,11 @@ void CPlayerStateButtBounceLand::enter(CPlayerModeBase *_playerMode)
|
||||||
if(_playerMode->getIsInWater())
|
if(_playerMode->getIsInWater())
|
||||||
{
|
{
|
||||||
DVECTOR pos;
|
DVECTOR pos;
|
||||||
|
CLevel &level=GameScene.GetLevel();
|
||||||
|
|
||||||
pos=_playerMode->getPlayerPos();
|
pos=_playerMode->getPlayerPos();
|
||||||
CGameBubicleFactory::spawnBubicles(pos.vx-20,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM);
|
CGameBubicleFactory::spawnBubicles(pos.vx-20,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM);
|
||||||
|
level.destroyMapArea(pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue