1
System / sf::clock doesn't work
« on: January 23, 2012, 08:45:40 am »Quote
That's strange. In my mind it should say Quote:
cannot convert from 'sf::Time' to 'float'
:oops:
Oh, I was testing around with integers (obviously it wasnt the solution) and posted the wrong error code, sorry.
Code: [Select]
clock.GetElapsedTime().AsSeconds();
Works! Thanks, you just made my day!