[Script] Rename float to CastFloat (#431)

This commit is contained in:
Edo 2022-08-15 00:13:55 +02:00 committed by GitHub
parent ca7b8f797d
commit b55d609710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ namespace Components
}); });
// Func present on IW5 // Func present on IW5
Script::AddFunction("Float", [] // gsc: Float() Script::AddFunction("CastFloat", [] // gsc: CastFloat()
{ {
switch (Game::Scr_GetType(0)) switch (Game::Scr_GetType(0))
{ {