further cleanup

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:13 +02:00
parent ad03115097
commit 0ef57dde15
21 changed files with 280 additions and 440 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ EX int getgametime() {
return (int) (savetime + (timerstopped ? 0 : (time(NULL) - timerstart)));
}
string getgametime_s(int timespent) {
EX string getgametime_s(int timespent IS(getgametime())) {
char buf[20];
sprintf(buf, "%d:%02d", timespent/60, timespent % 60);
return buf;