Call virtual functions by explicit class in constructor

This commit is contained in:
baldurk
2020-08-20 16:10:43 +01:00
parent 81fbf4bcc9
commit 0b0beb3a20
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -130,8 +130,8 @@ public:
m_Replay(NULL),
m_RemoteServer(false)
{
GetAPIProperties();
FetchStructuredFile();
ReplayProxy::GetAPIProperties();
ReplayProxy::FetchStructuredFile();
}
ReplayProxy(ReadSerialiser &reader, WriteSerialiser &writer, IRemoteDriver *remoteDriver,
+4 -1
View File
@@ -34,7 +34,10 @@ class Matrix4f;
class Camera : public ICamera
{
public:
Camera(CameraType t) : type(t), dirty(true), pos(), dist(0.0f), angles() { ResetArcball(); }
Camera(CameraType t) : type(t), dirty(true), pos(), dist(0.0f), angles()
{
Camera::ResetArcball();
}
virtual ~Camera() {}
void Shutdown() { delete this; }
void SetPosition(float x, float y, float z)