Script: Fixed that Initialize() was not called when the script is changed dynamically

This commit is contained in:
Birunthan Mohanathas
2012-07-18 17:41:28 +03:00
parent 67a57ca9ee
commit a0a0c61e79
2 changed files with 6 additions and 19 deletions

View File

@ -29,7 +29,6 @@ public:
virtual UINT GetTypeID() { return TypeID<CMeasureScript>(); }
virtual void Initialize();
virtual const WCHAR* GetStringValue(AUTOSCALE autoScale, double scale, int decimals, bool percentual);
virtual void Command(const std::wstring& command);
@ -42,7 +41,6 @@ protected:
private:
LuaScript* m_LuaScript;
bool m_HasInitializeFunction;
bool m_HasUpdateFunction;
bool m_HasGetStringFunction;