Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 10, 2011, 4:59:00 PM (13 years ago)
Author:
landauf
Message:

fixed "No munition class defined in WeaponMode" warning:
you have to actually create the munition class, it's not just a string
→ added RocketMunition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/weapons/weaponmodes/SimpleRocketFire.cc

    r7183 r7846  
    5353        this->speed_ = 500;
    5454
    55             this->setMunitionName("TargetSeeking Rockets");
    56             this->setDefaultSoundWithVolume("sounds/Rocket_launch.ogg",0.4f);
     55        this->setMunitionName("RocketMunition");
     56        this->setDefaultSoundWithVolume("sounds/Rocket_launch.ogg",0.4f);
    5757        // The firing sound of the Rocket is played in Rocket.cc (because of OpenAl sound positioning)
    5858    }
Note: See TracChangeset for help on using the changeset viewer.