1
0

Merged in a patch for sounds by l0udPL

http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564

git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2012-09-11 12:01:34 +00:00
parent 2132599cbb
commit 9eed83c33a
48 changed files with 334 additions and 27 deletions

View File

@@ -62,4 +62,13 @@ void cBlockDoorHandler::PlaceBlock(cWorld *a_World, cPlayer *a_Player, NIBBLETYP
a_World->SetBlock(a_X, a_Y, a_Z, m_BlockID, a_BlockMeta);
OnPlacedByPlayer(a_World, a_Player, a_X, a_Y, a_Z, a_Dir);
}
}
}
AString cBlockDoorHandler::GetStepSound(void)
{
if (m_BlockID == E_BLOCK_WOODEN_DOOR)
return "step.wood";
else
return "step.stone";
}