Remove static variable in cutscenes
This commit is contained in:
parent
7d02e57a19
commit
6e2d528b91
@ -638,8 +638,8 @@ void FeatureUnlockedCutScene::onUpdate(float dt)
|
||||
|
||||
assert(m_unlocked_stuff.size() > 0);
|
||||
|
||||
static const int w = irr_driver->getFrameSize().Width;
|
||||
static const int h = irr_driver->getFrameSize().Height;
|
||||
const int w = irr_driver->getFrameSize().Width;
|
||||
const int h = irr_driver->getFrameSize().Height;
|
||||
const irr::video::SColor color(255, 255, 255, 255);
|
||||
|
||||
GUIEngine::getTitleFont()->draw(_("Challenge Completed"),
|
||||
|
@ -316,8 +316,8 @@ void GrandPrixWin::onUpdate(float dt)
|
||||
|
||||
|
||||
// ---- title
|
||||
static const int w = irr_driver->getFrameSize().Width;
|
||||
static const int h = irr_driver->getFrameSize().Height;
|
||||
const int w = irr_driver->getFrameSize().Width;
|
||||
const int h = irr_driver->getFrameSize().Height;
|
||||
const irr::video::SColor color(255, 255, 255, 255);
|
||||
|
||||
static int test_y = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user