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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user