Replaced GlobalAlloc with malloc.

WaveMix keeps GlobalAlloc for authenticity.
Fixed float to double casts.
Some cleanup.
This commit is contained in:
Muzychenko Andrey
2021-02-18 12:53:25 +03:00
parent 55984fbb08
commit 98f234fce3
33 changed files with 171 additions and 174 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ void TLight::schedule_timeout(float time)
if (Timer1)
timer::kill(Timer1);
Timer1 = 0;
if (time > 0.0)
if (time > 0.0f)
Timer1 = timer::set(time, this, TimerExpired);
}