Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-07-16 22:26:02 +02:00
parent 18dd1b0ee2
commit f4c0778e45
2 changed files with 3 additions and 7 deletions

View file

@ -833,7 +833,7 @@ void CCtrlScroll::moveTargetX (sint32 dx)
_TrackPos = (sint32)factor;
}
// invlidate only position. 1 pass is sufficient
// invalidate only position. 1 pass is sufficient
invalidateCoords(1);
}
@ -873,7 +873,7 @@ void CCtrlScroll::moveTargetY (sint32 dy)
_TrackPos = (sint32)factor;
}
// invlidate only position. 1 pass is sufficient
// invalidate only position. 1 pass is sufficient
invalidateCoords(1);
}

View file

@ -3254,10 +3254,6 @@ void CServerEditionModule::hibernateSession(NLNET::IModuleProxy *sender, TSessio
}
static const std::string _SubRep = "r2/";
//static const std::string _SubRep = "";
std::string CServerEditionModule::getSessionFilename(TSessionId sessionId, TCharId charId) const
{
return NLMISC::toString("r2_session_%.08u_%08u.dat", sessionId.asInt(), charId );
@ -3265,7 +3261,7 @@ std::string CServerEditionModule::getSessionFilename(TSessionId sessionId, TChar
std::string CServerEditionModule::getOverrideRingAccessFilename() const
{
return NLMISC::toString("r2/override_ring_access.txt", _SubRep.c_str());
return "r2/override_ring_access.txt";
}
//implementation of characterKicked and command