mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-04-19 08:58:56 +00:00
Fix compilation errors.
This commit is contained in:
parent
9f217c9c81
commit
314a8e1904
2 changed files with 3 additions and 4 deletions
|
@ -86,10 +86,10 @@ ParticleEditor& ParticleEditor::Instance()
|
|||
}
|
||||
|
||||
ParticleEditor::ParticleEditor()
|
||||
: colorDlg( "Color" )
|
||||
: fileSelection(0)
|
||||
, colorDlg( "Color" )
|
||||
, fadeColorDlg( "Fade Color" )
|
||||
, entityColorDlg( "Entity Color" )
|
||||
, fileSelection(0)
|
||||
, materialDeclSelection(0)
|
||||
, shouldPopulate(false)
|
||||
{
|
||||
|
@ -1185,7 +1185,7 @@ idParticleStage *ParticleEditor::GetCurStage() {
|
|||
idDeclParticle *idp = GetCurParticle();
|
||||
int sel = listStagesSel;
|
||||
int index = listStagesItemData.First( sel );
|
||||
if ( idp == NULL || sel == LB_ERR || index >= idp->stages.Num() ) {
|
||||
if ( idp == NULL || sel == -1 || index >= idp->stages.Num() ) {
|
||||
return NULL;
|
||||
}
|
||||
return idp->stages[index];
|
||||
|
|
|
@ -135,7 +135,6 @@ protected:
|
|||
void OnBtnZup();
|
||||
void OnBtnZdn();
|
||||
void OnBtnDrop();
|
||||
//void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
|
||||
|
||||
private:
|
||||
bool isShown;
|
||||
|
|
Loading…
Reference in a new issue