- Timestamp:
- Sep 4, 2018, 1:00:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/LiveData/Animals.cs
r312 r325 1 using System; 2 using System.Collections.Generic; 3 4 namespace AllocsFixes.LiveData 5 { 6 public class Animals : EntityFilterList<EntityAnimal> 7 { 8 1 namespace AllocsFixes.LiveData { 2 public class Animals : EntityFilterList<EntityAnimal> { 9 3 public static readonly Animals Instance = new Animals (); 10 4 11 5 protected override EntityAnimal predicate (Entity _e) { 12 6 if (_e is EntityAnimal) { 13 EntityAnimal ea = (EntityAnimal) _e;7 EntityAnimal ea = (EntityAnimal) _e; 14 8 15 9 if (ea.IsAlive ()) { … … 17 11 } 18 12 } 13 19 14 return null; 20 15 } 21 22 } 16 } 23 17 } 24
Note:
See TracChangeset
for help on using the changeset viewer.