fix: Cleans up movement code (#787)
* Removes FastMovementImpl since it isn't used and I am not convinced it is better. * Moves some of the new movement logic from FastMovementImpl to MovementImpl * Makes MovementImpl more readable
This commit is contained in:
parent
7785f7e06c
commit
73c65a43ad
13 changed files with 312 additions and 989 deletions
|
|
@ -190,7 +190,7 @@ namespace Server.Items
|
|||
|
||||
public static void ApplyLightTo(Item item)
|
||||
{
|
||||
if ((item.ItemData.Flags & TileFlag.LightSource) == 0)
|
||||
if (!item.ItemData.LightSource)
|
||||
{
|
||||
return; // not a light source
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue