This commit is contained in:
parent
3b7feb9176
commit
c0983f9bfb
7 changed files with 40 additions and 27 deletions
|
@ -55,7 +55,7 @@ void CInWaterTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
if(_thisThing->getThingType()==TYPE_PLAYER)
|
||||
{
|
||||
// ((CPlayer*)_thisThing)->setCameraBox(camBox);
|
||||
((CPlayer*)_thisThing)->setIsInWater(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ void COutOfWaterTrigger::collidedWith(CThing *_thisThing)
|
|||
{
|
||||
if(_thisThing->getThingType()==TYPE_PLAYER)
|
||||
{
|
||||
// ((CPlayer*)_thisThing)->setCameraBox(camBox);
|
||||
((CPlayer*)_thisThing)->setIsInWater(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue