This commit is contained in:
parent
e211761204
commit
d0cf8cccc4
1 changed files with 7 additions and 0 deletions
|
@ -29,6 +29,10 @@
|
||||||
#include "level\layercollision.h"
|
#include "level\layercollision.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __PAD_VIBE_H__
|
||||||
|
#include "pad\vibe.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// States
|
// States
|
||||||
#ifndef __PLAYER__PSLOOK_H__
|
#ifndef __PLAYER__PSLOOK_H__
|
||||||
#include "player\pslook.h"
|
#include "player\pslook.h"
|
||||||
|
@ -441,7 +445,10 @@ void CPlayerModeBase::playerHasHitGround()
|
||||||
setState(STATE_HITGROUND);
|
setState(STATE_HITGROUND);
|
||||||
#ifdef __USER_paul__
|
#ifdef __USER_paul__
|
||||||
m_player->takeDamage(DAMAGE__FALL,REACT__NO_REACTION);
|
m_player->takeDamage(DAMAGE__FALL,REACT__NO_REACTION);
|
||||||
|
#else
|
||||||
|
CPadVibrationManager::setVibration(0,CPadVibrationManager::VIBE_SHORT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
moveVel.vx=0;
|
moveVel.vx=0;
|
||||||
CGameScene::setCameraShake(0,8);
|
CGameScene::setCameraShake(0,8);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue