Changed: #825 Remove all warnings when compiling Ryzom

hg/feature/sound
kervala 14 years ago
parent 06aa221db3
commit c9c9a24eb7

@ -3134,7 +3134,7 @@ class CHandlerGameConfigFullscreen : public IActionHandler
virtual void execute (CCtrlBase *pCaller, const string &/* Params */) virtual void execute (CCtrlBase *pCaller, const string &/* Params */)
{ {
CInterfaceManager *pIM = CInterfaceManager::getInstance(); CInterfaceManager *pIM = CInterfaceManager::getInstance();
bool bFullscreen; bool bFullscreen = false;
{ {
CCtrlBaseButton *pBut = dynamic_cast<CCtrlBaseButton*>(pIM->getElementFromId( GAME_CONFIG_VIDEO_FULLSCREEN_BUTTON )); CCtrlBaseButton *pBut = dynamic_cast<CCtrlBaseButton*>(pIM->getElementFromId( GAME_CONFIG_VIDEO_FULLSCREEN_BUTTON ));
if (pBut) bFullscreen = pBut->getPushed(); if (pBut) bFullscreen = pBut->getPushed();

Loading…
Cancel
Save