08-26-2013, 01:29 AM
Hi!
I want to try to solve the zombies burning in a cave issue, so I thought I'll use lineblocktracer to trace upwards until the height of the chunk is reached. I was wondering what the correct syntax for it is?
Apparently it takes a World, a Callback, and 6 doubles. In zombie.cpp, I have:
However, it tells me that the overloaded function doesn't have the correct argument list. Why is this? Thanks!
I want to try to solve the zombies burning in a cave issue, so I thought I'll use lineblocktracer to trace upwards until the height of the chunk is reached. I was wondering what the correct syntax for it is?
Apparently it takes a World, a Callback, and 6 doubles. In zombie.cpp, I have:
Code:
#include LineblockTracer.h
...
*callback I copied from World.cpp*
cLineBlockTracer::Trace(GetWorld(), Callback, GetPosX, GetPosY, GetPosZ, GetPosX, *value for chunk height, how can I use cChunk::Height here?*, GetPosZ)
However, it tells me that the overloaded function doesn't have the correct argument list. Why is this? Thanks!