Changeset 307 for binary-improvements
- Timestamp:
- Aug 2, 2017, 6:56:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/LiveData/Animals.cs
r306 r307 13 13 Entity entity = entities [i]; 14 14 15 // Kind of hack-ish, but the game is legitimately setting the base type of animals ('entityType') to enum 0 ('EntityType.Unknown'). 16 if ((entity.entityType == EntityType.Animal) || (entity is EntityAnimal)) { 15 if (entity is EntityAnimal) { 17 16 EntityAnimal ea = (EntityAnimal)entity; 18 17 … … 34 33 Entity entity = entities [i]; 35 34 36 // Kind of hack-ish, but the game is legitimately setting the base type of animals ('entityType') to enum 0 ('EntityType.Unknown'). 37 if ((entity.entityType == EntityType.Animal) || (entity is EntityAnimal)) { 35 if (entity is EntityAnimal) { 38 36 EntityAnimal ea = (EntityAnimal)entity; 39 37
Note:
See TracChangeset
for help on using the changeset viewer.