mirror of
https://github.com/edubart/otclient.git
synced 2025-12-25 09:17:11 +01:00
add clock, change exceptions, add network exceptions, fix some crashes
This commit is contained in:
@@ -43,8 +43,6 @@ void Image::loadFromOTML(const OTMLNodePtr& imageNode)
|
||||
|
||||
// load texture
|
||||
m_texture = g_textures.getTexture(source);
|
||||
if(!m_texture)
|
||||
throw OTMLException(imageNode, "could not load image texture");
|
||||
m_textureCoords = imageNode->valueAt("coords", Rect(Point(0,0),m_texture->getSize()));
|
||||
|
||||
// enable texture bilinear filter
|
||||
|
||||
Reference in New Issue
Block a user