Removed DeepFreeze Messages

Removed some curl brackets
This commit is contained in:
GreYFoXGTi 2011-02-05 06:18:32 +02:00
parent 4ca79188dc
commit f901fc65fa

View file

@ -1354,30 +1354,17 @@ void CCharacter::HandleTiles(int Index)
}
if(((m_TileIndex == TILE_END) || (m_TileFIndex == TILE_END) || FTile1 == TILE_END || FTile2 == TILE_END || FTile3 == TILE_END || FTile4 == TILE_END || Tile1 == TILE_END || Tile2 == TILE_END || Tile3 == TILE_END || Tile4 == TILE_END) && m_DDRaceState == DDRACE_STARTED)
{
Controller->m_Teams.OnCharacterFinish(m_pPlayer->GetCID());
}
if(((m_TileIndex == TILE_FREEZE) || (m_TileFIndex == TILE_FREEZE)) && !m_Super && !m_DeepFreeze)
{
Freeze();
}
else if(((m_TileIndex == TILE_UNFREEZE) || (m_TileFIndex == TILE_UNFREEZE)) && !m_DeepFreeze)
{
UnFreeze();
}
else if(((m_TileIndex == TILE_DFREEZE) || (m_TileFIndex == TILE_DFREEZE)) && !m_Super && !m_DeepFreeze)
{
GameServer()->SendChatTarget(GetPlayer()->GetCID(),"You have been deeply frozen");
m_DeepFreeze = true;
}
else if(((m_TileIndex == TILE_DUNFREEZE) || (m_TileFIndex == TILE_DUNFREEZE)) && !m_Super && m_DeepFreeze)
{
GameServer()->SendChatTarget(GetPlayer()->GetCID(),"You have been thawed from deepfreeze");
if((m_TileIndex != TILE_FREEZE) && (m_TileFIndex != TILE_FREEZE)) {
if((m_TileIndex != TILE_FREEZE) && (m_TileFIndex != TILE_FREEZE))
UnFreeze();
}
m_DeepFreeze = false;
}
if(((m_TileIndex == TILE_EHOOK_START) || (m_TileFIndex == TILE_EHOOK_START)) && !m_EndlessHook)