aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/DirtyChunkSorter.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/DirtyChunkSorter.h')
-rw-r--r--Minecraft.Client/DirtyChunkSorter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/DirtyChunkSorter.h b/Minecraft.Client/DirtyChunkSorter.h
index 4caa2fac..1bf8b61f 100644
--- a/Minecraft.Client/DirtyChunkSorter.h
+++ b/Minecraft.Client/DirtyChunkSorter.h
@@ -5,10 +5,10 @@ class Mob;
class DirtyChunkSorter : public std::binary_function<const Chunk *,const Chunk *,bool>
{
private:
- shared_ptr<Mob> cameraEntity;
+ shared_ptr<LivingEntity> cameraEntity;
int playerIndex; // 4J added
public:
- DirtyChunkSorter(shared_ptr<Mob> cameraEntity, int playerIndex); // 4J - added player index
+ DirtyChunkSorter(shared_ptr<LivingEntity> cameraEntity, int playerIndex); // 4J - added player index
bool operator()(const Chunk *a, const Chunk *b) const;
}; \ No newline at end of file