summaryrefslogtreecommitdiffstats
path: root/src/app/system_other.cpp
diff options
context:
space:
mode:
authorDidier 'OdyX' Raboud <didier@raboud.com>2013-10-23 14:22:20 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-10-24 21:12:52 +0200
commit97baf7242e49dd09d67b5c94441f983d61eaaeb3 (patch)
treee6ed02f31e8859cc7f951449dd9c55d187de7426 /src/app/system_other.cpp
parent591ba30a0051c856c8b877b8687f071e0212e28c (diff)
downloadcolobot-97baf7242e49dd09d67b5c94441f983d61eaaeb3.tar.gz
colobot-97baf7242e49dd09d67b5c94441f983d61eaaeb3.tar.bz2
colobot-97baf7242e49dd09d67b5c94441f983d61eaaeb3.zip
Fix system_other implementation by adding an Init() and fixing the wrong const
Diffstat (limited to 'src/app/system_other.cpp')
-rw-r--r--src/app/system_other.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/system_other.cpp b/src/app/system_other.cpp
index da81a6d..9d9f76a 100644
--- a/src/app/system_other.cpp
+++ b/src/app/system_other.cpp
@@ -33,7 +33,7 @@ long long int CSystemUtilsOther::GetTimeStampExactResolution()
return 1000000ll;
}
-long long int CSystemUtilsOther::TimeStampExactDiff(SystemTimeStamp* before, SystemTimeStamp* after) const
+long long int CSystemUtilsOther::TimeStampExactDiff(SystemTimeStamp* before, SystemTimeStamp* after)
{
return (after->sdlTicks - before->sdlTicks) * 1000000ll;
}