LOL: (temporary) fix for button callback assignment. The automatic list capacity increase seems to fail somehow.

svn-id: r40786
This commit is contained in:
Florian Kagerer 2009-05-22 18:14:00 +00:00
parent 64e75b91b7
commit 32533af8cf

View File

@ -1899,6 +1899,7 @@ void LoLEngine::initStaticResource() {
_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 @@ void LoLEngine::initStaticResource() {
#undef cb
}
#endif // ENABLE_LOL
const ScreenDim Screen_LoK::_screenDimTable[] = {