Enabled anvil for FTL races again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
eae3653470
commit
634b6044ae
@ -186,13 +186,4 @@ void FollowTheLeaderRace::raceResultOrder( int* order )
|
|||||||
delete []scores;
|
delete []scores;
|
||||||
delete []race_time;
|
delete []race_time;
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
bool FollowTheLeaderRace::acceptPowerup(const int type) const
|
|
||||||
{
|
|
||||||
// anvil makes no sense in FTL, the leader is supposed to stay first,
|
|
||||||
// you don't want to stop him
|
|
||||||
if(type == POWERUP_ANVIL) return false;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ public:
|
|||||||
virtual std::string getInternalCode() const;
|
virtual std::string getInternalCode() const;
|
||||||
virtual bool useFastMusicNearEnd() const { return false; }
|
virtual bool useFastMusicNearEnd() const { return false; }
|
||||||
virtual KartIconDisplayInfo* getKartsDisplayInfo(const RaceGUI* caller);
|
virtual KartIconDisplayInfo* getKartsDisplayInfo(const RaceGUI* caller);
|
||||||
virtual bool acceptPowerup(const int type) const;
|
|
||||||
|
|
||||||
virtual bool raceHasLaps(){ return false; }
|
virtual bool raceHasLaps(){ return false; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user