Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-07-27 13:21:11 +02:00
parent 7e9baec441
commit da46bed296
7 changed files with 10 additions and 10 deletions

View file

@ -61,7 +61,7 @@ public:
public:
// For CMusicSoundManager. Mark the last time (in ms) this music was stoped, after a play. INT_MIN by default
// For CMusicSoundManager. Mark the last time (in ms) this music was stopped, after a play. INT_MIN by default
NLMISC::TTime LastStopTime;
private:

View file

@ -27,7 +27,7 @@
#include "nel/misc/debug.h"
#include "unix_event_emitter.h"
typedef void (*x11Proc)(NL3D::IDriver *drv, XEvent *e);
typedef bool (*x11Proc)(NL3D::IDriver *drv, XEvent *e);
namespace NLMISC {

View file

@ -98,7 +98,7 @@ void CMusicChannelFader::update()
fader.Fade = false;
fader.Playing = false;
}
else if (_MusicFader[i].XFadeVolume >= 1.f)
else if (fader.XFadeVolume >= 1.f)
{
// fadein complete
fader.Fade = false;

View file

@ -41,7 +41,7 @@ CMusicPlayer MusicPlayer;
CMusicPlayer::CMusicPlayer ()
{
_CurrentSong = 0;
_State = Stoped;
_State = Stopped;
}
@ -54,7 +54,7 @@ void CMusicPlayer::playSongs (const std::vector<CSongs> &songs)
// If pause, stop, else play will resume
if (_State == Paused)
_State = Stoped;
_State = Stopped;
play ();
}
@ -152,7 +152,7 @@ void CMusicPlayer::update ()
else
{
SoundMngr->stopMusic(0);
_State = Stoped;
_State = Stopped;
}
}
}

View file

@ -60,7 +60,7 @@ private:
std::vector<CSongs> _Songs;
// State
enum TState { Stoped, Playing, Paused } _State;
enum TState { Stopped, Playing, Paused } _State;
};
extern CMusicPlayer MusicPlayer;

View file

@ -97,7 +97,7 @@ namespace OUTPOSTENUMS
OwnerGiveUp, // the owner guild gave up the outpost
SquadKilled, // a defending squad was killed
EventAisUp, // the ais of the outpost started (or we did)
EventAisDown, // the ais of the outpost stoped
EventAisDown, // the ais of the outpost stopped
// AllSquadsKilled, // all defending squads were killed
};

View file

@ -1838,7 +1838,7 @@ void CServerEditionModule::onMapConnectionAsked( NLNET::IModuleProxy * clientEdi
{
bool animationSessionExist = false;
// If player reconnect after test mode the test mode is stoped
// If player reconnect after test mode the test mode is stopped
// Add charId connected in animation Module
{
std::vector<TCharId> connectedChars;
@ -5589,7 +5589,7 @@ void CServerEditionModule::getTpContext(TCharId charId, std::string& tpCancelTex
CEditionSession* session =getSession(sessionId);
if (!session) { return; }
// If player reconnect after test mode the test mode is stoped
// If player reconnect after test mode the test mode is stopped
// Add charId connected in animation Module
bool animationSessionExist = false;
{