1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

a commit before starting to reorganize the map loading/generation logic

This commit is contained in:
Perttu Ahola 2011-04-10 19:12:56 +03:00
parent 7aa2d4d109
commit 6fa85c8502
5 changed files with 357 additions and 542 deletions

View file

@ -272,7 +272,7 @@ RatSAO::RatSAO(ServerEnvironment *env, u16 id, v3f pos):
ServerActiveObject(env, id, pos),
m_speed_f(0,0,0)
{
dstream<<"Server: RatSAO created"<<std::endl;
//dstream<<"Server: RatSAO created"<<std::endl;
ServerActiveObject::registerType(getType(), create);
m_oldpos = v3f(0,0,0);
@ -425,7 +425,7 @@ std::string RatSAO::getClientInitializationData()
std::string RatSAO::getStaticData()
{
dstream<<__FUNCTION_NAME<<std::endl;
//dstream<<__FUNCTION_NAME<<std::endl;
std::ostringstream os(std::ios::binary);
// version
writeU8(os, 0);