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:
hikerstk 2009-01-08 23:25:19 +00:00
parent eae3653470
commit 634b6044ae
2 changed files with 0 additions and 10 deletions

View File

@ -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;
}

View File

@ -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; }