mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Fix spelling: pickup_sounds -> pickupSounds
This commit is contained in:
@@ -2419,7 +2419,7 @@ void CPlayerInterface::showComp(SComponent comp)
|
|||||||
{
|
{
|
||||||
boost::unique_lock<boost::recursive_mutex> un(*pim);
|
boost::unique_lock<boost::recursive_mutex> un(*pim);
|
||||||
|
|
||||||
CGI->audioh->playSoundFromSet(CGI->audioh->pickup_sounds);
|
CGI->audioh->playSoundFromSet(CGI->audioh->pickupSounds);
|
||||||
|
|
||||||
adventureInt->infoBar.showComp(&comp,4000);
|
adventureInt->infoBar.showComp(&comp,4000);
|
||||||
}
|
}
|
||||||
|
@@ -42,7 +42,7 @@ void CSoundHandler::initSounds()
|
|||||||
#undef VCMI_SOUND_FILE
|
#undef VCMI_SOUND_FILE
|
||||||
|
|
||||||
// Vectors for helper(s)
|
// Vectors for helper(s)
|
||||||
pickup_sounds += soundBase::pickup01, soundBase::pickup02, soundBase::pickup03,
|
pickupSounds += soundBase::pickup01, soundBase::pickup02, soundBase::pickup03,
|
||||||
soundBase::pickup04, soundBase::pickup05, soundBase::pickup06, soundBase::pickup07;
|
soundBase::pickup04, soundBase::pickup05, soundBase::pickup06, soundBase::pickup07;
|
||||||
horseSounds += // must be the same order as terrains (see EtrrainType);
|
horseSounds += // must be the same order as terrains (see EtrrainType);
|
||||||
soundBase::horseDirt, soundBase::horseSand, soundBase::horseGrass,
|
soundBase::horseDirt, soundBase::horseSand, soundBase::horseGrass,
|
||||||
|
@@ -45,7 +45,7 @@ public:
|
|||||||
void stopSound(int handler);
|
void stopSound(int handler);
|
||||||
|
|
||||||
// Sets
|
// Sets
|
||||||
std::vector<soundBase::soundID> pickup_sounds;
|
std::vector<soundBase::soundID> pickupSounds;
|
||||||
std::vector<soundBase::soundID> horseSounds;
|
std::vector<soundBase::soundID> horseSounds;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user