From 5156a583da365542087f742b9504aeb7a72e03e4 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 29 May 2001 18:55:55 +0000 Subject: [PATCH] --- source/player/psbutt.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/player/psbutt.cpp b/source/player/psbutt.cpp index 141756548..246f3b614 100644 --- a/source/player/psbutt.cpp +++ b/source/player/psbutt.cpp @@ -31,6 +31,14 @@ #include "game\gamebubs.h" #endif +#ifndef __LEVEL_LEVEL_H__ +#include "level\level.h" +#endif + +#ifndef __GAME_GAME_H__ +#include "game\game.h" +#endif + /* Std Lib ------- */ @@ -128,8 +136,11 @@ void CPlayerStateButtBounceLand::enter(CPlayerModeBase *_playerMode) if(_playerMode->getIsInWater()) { DVECTOR pos; + CLevel &level=GameScene.GetLevel(); + pos=_playerMode->getPlayerPos(); CGameBubicleFactory::spawnBubicles(pos.vx-20,pos.vy,40,10,CGameBubicleFactory::TYPE_MEDIUM); + level.destroyMapArea(pos); } }