mirror of
https://github.com/iAmInActions/SpaceCadetPinballPPC.git
synced 2026-08-15 05:16:36 +00:00
Replaced GlobalAlloc with malloc.
WaveMix keeps GlobalAlloc for authenticity. Fixed float to double casts. Some cleanup.
This commit is contained in:
@@ -121,7 +121,7 @@ void TTextBox::Display(char* text, float time)
|
||||
{
|
||||
if (Timer && Timer != -1)
|
||||
timer::kill(Timer);
|
||||
if (time == -1.0)
|
||||
if (time == -1.0f)
|
||||
Timer = -1;
|
||||
else
|
||||
Timer = timer::set(time, this, TimerExpired);
|
||||
@@ -172,7 +172,7 @@ void TTextBox::Draw()
|
||||
bool display = false;
|
||||
while (Message1)
|
||||
{
|
||||
if (Message1->Time == -1.0)
|
||||
if (Message1->Time == -1.0f)
|
||||
{
|
||||
if (!Message1->NextMessage)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user