diff options
author | richiesams | 2013-08-04 23:54:53 -0500 |
---|---|---|
committer | richiesams | 2013-08-05 00:05:14 -0500 |
commit | ec7036469c57eecb7afb226cc3dd176fcc74c0cb (patch) | |
tree | 6c6e69e7fc83c4995769aa7e0865743c6892d979 /engines/zvision/zvision.h | |
parent | c4dc3989a70939fd98f1d55dffb548e68f80adfb (diff) | |
download | scummvm-rg350-ec7036469c57eecb7afb226cc3dd176fcc74c0cb.tar.gz scummvm-rg350-ec7036469c57eecb7afb226cc3dd176fcc74c0cb.tar.bz2 scummvm-rg350-ec7036469c57eecb7afb226cc3dd176fcc74c0cb.zip |
ZVISION: Make _clock a member variable instead of a pointer to the heap
Diffstat (limited to 'engines/zvision/zvision.h')
-rw-r--r-- | engines/zvision/zvision.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h index 459096a03b..3eff16e5f1 100644 --- a/engines/zvision/zvision.h +++ b/engines/zvision/zvision.h @@ -32,6 +32,7 @@ #include "graphics/pixelformat.h" #include "zvision/detection.h" +#include "zvision/clock.h" #include "gui/debugger.h" @@ -46,7 +47,6 @@ struct ZVisionGameDescription; class Console; class ScriptManager; class RenderManager; -class Clock; // our engine debug channels enum { @@ -78,7 +78,7 @@ private: RenderManager *_renderManager; // Clock - Clock *_clock; + Clock _clock; // To prevent allocation every time we process events Common::Event _event; |