[Scummvm-cvs-logs] SF.net SVN: scummvm:[40786] scummvm/trunk/engines/kyra/staticres.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Fri May 22 20:14:00 CEST 2009
Revision: 40786
http://scummvm.svn.sourceforge.net/scummvm/?rev=40786&view=rev
Author: athrxx
Date: 2009-05-22 18:14:00 +0000 (Fri, 22 May 2009)
Log Message:
-----------
LOL: (temporary) fix for button callback assignment. The automatic list capacity increase seems to fail somehow.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/staticres.cpp
Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp 2009-05-22 17:15:39 UTC (rev 40785)
+++ scummvm/trunk/engines/kyra/staticres.cpp 2009-05-22 18:14:00 UTC (rev 40786)
@@ -1899,6 +1899,7 @@
_staticres->unloadId(lolLightningDefs);
_buttonCallbacks.clear();
+ _buttonCallbacks.reserve(95);
#define cb(x) _buttonCallbacks.push_back(BUTTON_FUNCTOR(LoLEngine, this, &LoLEngine::x))
// 0x00
cb(clickedUpArrow);
@@ -2000,6 +2001,7 @@
#undef cb
}
+
#endif // ENABLE_LOL
const ScreenDim Screen_LoK::_screenDimTable[] = {
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