mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 16:58:26 +00:00
LOL: (temporary) fix for button callback assignment. The automatic list capacity increase seems to fail somehow.
svn-id: r40786
This commit is contained in:
parent
64e75b91b7
commit
32533af8cf
@ -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[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user