Jelajahi Sumber

Minor typo fixes

dydzio 9 tahun lalu
induk
melakukan
5c07e1c432
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      client/CMusicHandler.cpp
  2. 1 1
      lib/rmg/CRmgTemplate.cpp

+ 1 - 1
client/CMusicHandler.cpp

@@ -483,7 +483,7 @@ bool MusicEntry::stop(int fade_ms)
 {
 	if (Mix_PlayingMusic())
 	{
-		logGlobal->traceStream()<<"Stoping music file "<<currentName;
+		logGlobal->traceStream()<<"Stopping music file "<<currentName;
 		loop = 0;
 		Mix_FadeOutMusic(fade_ms);
 		return true;

+ 1 - 1
lib/rmg/CRmgTemplate.cpp

@@ -47,7 +47,7 @@ int CRmgTemplateZoneConnection::getGuardStrength() const
 
 void CRmgTemplateZoneConnection::setGuardStrength(int value)
 {
-	if(value < 0) throw std::runtime_error("Negative value for guard strenth not allowed.");
+	if(value < 0) throw std::runtime_error("Negative value for guard strength not allowed.");
 	guardStrength = value;
 }