[Scummvm-cvs-logs] SF.net SVN: scummvm: [24514] scummvm/trunk/engines/scumm/smush/smush_player .cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Oct 26 01:12:39 CEST 2006
Revision: 24514
http://svn.sourceforge.net/scummvm/?rev=24514&view=rev
Author: fingolfin
Date: 2006-10-25 16:12:34 -0700 (Wed, 25 Oct 2006)
Log Message:
-----------
cleanup
Modified Paths:
--------------
scummvm/trunk/engines/scumm/smush/smush_player.cpp
Modified: scummvm/trunk/engines/scumm/smush/smush_player.cpp
===================================================================
--- scummvm/trunk/engines/scumm/smush/smush_player.cpp 2006-10-25 21:49:33 UTC (rev 24513)
+++ scummvm/trunk/engines/scumm/smush/smush_player.cpp 2006-10-25 23:12:34 UTC (rev 24514)
@@ -222,16 +222,17 @@
}
void SmushPlayer::timerCallback(void *refCon) {
- ((SmushPlayer *)refCon)->parseNextFrame();
+ SmushPlayer *sp = (SmushPlayer *)refCon;
+ sp->parseNextFrame();
#ifdef _WIN32_WCE
- ((SmushPlayer *)refCon)->_inTimer = true;
- ((SmushPlayer *)refCon)->_inTimerCount++;
+ sp->_inTimer = true;
+ sp->_inTimerCount++;
#endif
#ifdef __SYMBIAN32__
- if (((SmushPlayer *)refCon)->_closeOnTextTick) {
- delete ((SmushPlayer *)refCon)->_base;
- ((SmushPlayer *)refCon)->_base = NULL;
- ((SmushPlayer *)refCon)->_closeOnTextTick = false;
+ if (sp->_closeOnTextTick) {
+ delete sp->_base;
+ sp->_base = NULL;
+ sp->_closeOnTextTick = false;
}
#endif
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list