Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11772


Ignore:
Timestamp:
Feb 18, 2018, 5:49:32 PM (6 years ago)
Author:
landauf
Message:

[SOBv2_HS17] fixed a bunch of runtime warnings

Location:
code/branches/Presentation_HS17_merge
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/data/levels/SOB.oxw

    r11766 r11772  
    77
    88        <?lua
    9         include("HUDTemplates3.oxo") 
    10         include("jumpHUD.oxo")
    119        include("stats.oxo")
    1210        include("templates/lodInformation.oxt")
     
    8078
    8179        <Template name=gumbaShootable>
    82                 <SOBGumbaBoss collisionType="dynamic" speed=60>
     80                <SOBGumba collisionType="dynamic" speed=60>
    8381                        <attached>
    8482                                <Model mesh="Goomba.mesh" position="0,0,1" scale=3 pitch=90/>                           
     
    8785                                <BoxCollisionShape position="0,0,0" halfExtents="5,5,3" />                     
    8886                        </collisionShapes>
    89                 </SOBGumbaBoss>
     87                </SOBGumba>
    9088        </Template>
    9189
  • code/branches/Presentation_HS17_merge/src/modules/superorxobros/SOB.cc

    r11769 r11772  
    9191            }
    9292
    93             center_->attach(figure_);
    9493            figure_->setPosition(0, 0, 0);
    9594        }
  • code/branches/Presentation_HS17_merge/src/modules/superorxobros/SOBFireball.cc

    r11769 r11772  
    183183            setVelocity(velocity);
    184184
    185             if(abs(this->getPosition().z) > 1000) delete this;
     185            if(abs(this->getPosition().z) > 1000) this->destroyLater();
    186186       
    187187    }
  • code/branches/Presentation_HS17_merge/src/modules/superorxobros/SOBGumba.cc

    r11769 r11772  
    140140        }
    141141
    142         if(abs(this->getPosition().z) > 1000) delete this;
     142        if(abs(this->getPosition().z) > 1000) this->destroyLater();
    143143
    144144    }
Note: See TracChangeset for help on using the changeset viewer.