Avoid a crash in debug menu
This commit is contained in:
parent
a39c934d2b
commit
6effdeced4
@ -722,6 +722,7 @@ bool handleContextMenuAction(s32 cmd_id)
|
||||
break;
|
||||
case DEBUG_ADJUST_LIGHTS:
|
||||
{
|
||||
if (!world) return false;
|
||||
// Some sliders use multipliers because the spinner widget
|
||||
// only supports integers
|
||||
DebugSliderDialog *dsd = new DebugSliderDialog();
|
||||
|
Loading…
Reference in New Issue
Block a user