1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
This commit is contained in:
Laserlicht 2024-10-18 14:37:18 +02:00 committed by GitHub
parent 0f41361873
commit a68522b370
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -391,7 +391,7 @@ void CVideoInstance::tick(uint32_t msPassed)
if(videoEnded())
throw std::runtime_error("Video already ended!");
if(startTime == std::chrono::high_resolution_clock())
if(startTime == std::chrono::high_resolution_clock::time_point())
startTime = std::chrono::high_resolution_clock::now();
auto nowTime = std::chrono::high_resolution_clock::now();