When compiling rev 329-332 I get the following error:
I don't understand why the compile-error only happens on Linux (I assume the devs has compiled for Windows just fine) as the changed code in r329 doesn't seem OS-dependent. Am I missing something?
Code:
source/cEntity.cpp: In member function âvoid cEntity::Destroy()â:
source/cEntity.cpp:181:85: error: no matching function for call to âcWorld::BroadcastToChunk(int&, int&, int&, cPacket_DestroyEntity)â
source/cEntity.cpp:181:85: note: candidate is:
source/cWorld.h:63:7: note: void cWorld::BroadcastToChunk(int, int, int, cPacket&, cClientHandle*)
source/cWorld.h:63:7: note: no known conversion for argument 4 from âcPacket_DestroyEntityâ to âcPacket&â
make: *** [build/debug/source/cEntity.o] Error 1
I don't understand why the compile-error only happens on Linux (I assume the devs has compiled for Windows just fine) as the changed code in r329 doesn't seem OS-dependent. Am I missing something?