Instances call constructor of base class

This commit is contained in:
andreja6
2018-10-24 11:02:13 -07:00
parent ea072e424a
commit 07a2eb4d98
7 changed files with 10 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
ImageButtonInstance::ImageButtonInstance(G3D::TextureRef newImage, G3D::TextureRef overImage = NULL, G3D::TextureRef downImage = NULL, G3D::TextureRef disableImage = NULL)
{
BaseButtonInstance::BaseButtonInstance();
image = newImage;
openGLID = image->getOpenGLID();
image_ovr = overImage;