From b0971f4459fd37813dd4779f2ddaf9b38cf5f776 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 8 Feb 2011 11:24:07 +0200 Subject: local game connects to 127.0.0.1 instead of localhost (windows returns an ipv6 address sometimes which is not supported) --- src/irrlichtwrapper.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/irrlichtwrapper.cpp') diff --git a/src/irrlichtwrapper.cpp b/src/irrlichtwrapper.cpp index a1d37f4bd..4ad647194 100644 --- a/src/irrlichtwrapper.cpp +++ b/src/irrlichtwrapper.cpp @@ -169,6 +169,16 @@ video::ITexture* IrrlichtWrapper::getTextureDirect(const TextureSpec &spec) std::string path = porting::getDataPath(name.c_str()); dstream<<"getTextureDirect(): Loading path \""<getTexture(path.c_str()); + driver->renameTexture(t, texture_name.c_str()); + return t; + }*/ + video::IImage *image = driver->createImageFromFile(path.c_str()); if(image == NULL) -- cgit v1.2.3