From 9dc429df9dbd1a5ae0f93d553ccfde7ab37a53a2 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 22 Nov 2012 11:00:03 +0000 Subject: gameplay good: up against memory limit --- vfg/src/Puppet.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vfg/src/Puppet.cpp') diff --git a/vfg/src/Puppet.cpp b/vfg/src/Puppet.cpp index 0fd07a6..90ba137 100755 --- a/vfg/src/Puppet.cpp +++ b/vfg/src/Puppet.cpp @@ -21,8 +21,8 @@ void Puppet::load(string filename) { for (int i=0;i0) { if (!clips[playlist[0]].getIsPlaying()) { playlist.erase(playlist.begin()); @@ -44,11 +44,11 @@ void Puppet::draw(float x, float y) { } } if (playlist.size()==0) { - if (clips.find("base") != clips.end()) clips["base"].draw(x,y); + if (clips.find("base") != clips.end()) clips["base"].draw(x,y,scale); } else { clips[playlist[0]].update(); - clips[playlist[0]].draw(x,y); + clips[playlist[0]].draw(x,y,scale); } } -- cgit v1.2.3