mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
Trunk sync r7997
This commit is contained in:
1 parent
9f8c2061c8
commit
465b3296ae
18 files changed
+158
-270
No files matched your search
+1
-1
@@ -7013,7 +7013,7 @@ ADE_FUNC(getAnimationDoneTime, l_Ship, "number Type, number Subtype", "Gets time
|
||||
return ADE_RETURN_FALSE;
|
||||
|
||||
int time_ms = model_anim_get_time_type(&Ships[objh->objp->instance], type, subtype);
|
||||
float time_s = (float)time_ms * 1000.0f;
|
||||
float time_s = (float)time_ms / 1000.0f;
|
||||
|
||||
return ade_set_args(L, "f", time_s);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user