mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-19 08:58:56 +00:00
Draw multiple windows. Fix decl existence check.
This commit is contained in:
parent
350b6a5a97
commit
f815130206
2 changed files with 6 additions and 6 deletions
|
@ -133,23 +133,23 @@ void DrawToolWindows()
|
|||
{
|
||||
LightEditor::Instance().Draw();
|
||||
}
|
||||
else if( AfEditor::Instance().IsShown() )
|
||||
if( AfEditor::Instance().IsShown() )
|
||||
{
|
||||
AfEditor::Instance().Draw();
|
||||
}
|
||||
else if ( PDAEditor::Instance().IsShown() )
|
||||
if ( PDAEditor::Instance().IsShown() )
|
||||
{
|
||||
PDAEditor::Instance().Draw();
|
||||
}
|
||||
else if ( ParticleEditor::Instance().IsShown() )
|
||||
if ( ParticleEditor::Instance().IsShown() )
|
||||
{
|
||||
ParticleEditor::Instance().Draw();
|
||||
}
|
||||
else if ( ScriptEditor::Instance().IsShown() )
|
||||
if ( ScriptEditor::Instance().IsShown() )
|
||||
{
|
||||
ScriptEditor::Instance().Draw();
|
||||
}
|
||||
else if ( DeclBrowser::Instance().IsShown() ) {
|
||||
if ( DeclBrowser::Instance().IsShown() ) {
|
||||
DeclBrowser::Instance().Draw();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ PathTreeNode *PathTreeCtrl::FindItem( const idStr &pathName ) {
|
|||
PathTreeNode *item, *parentItem;
|
||||
|
||||
parentItem = NULL;
|
||||
item = GetRootItem();
|
||||
item = GetChildItem( GetRootItem() );
|
||||
|
||||
lastSlash = pathName.Last( '/' );
|
||||
|
||||
|
|
Loading…
Reference in a new issue