We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d746ae4 commit c53daa3Copy full SHA for c53daa3
1 file changed
code/scpui/RocketRenderingInterface.cpp
@@ -335,7 +335,9 @@ int RocketRenderingInterface::getBitmapNum(Rocket::Core::TextureHandle handle)
335
void RocketRenderingInterface::advanceAnimation(Rocket::Core::TextureHandle handle, float advanceTime)
336
{
337
Assertion(handle != 0, "Invalid handle for setAnimationFrame");
338
- Assertion(get_texture(handle)->is_animation, "Tried to use advanceAnimation with a non-animation!");
+ if (!get_texture(handle)->is_animation) {
339
+ return;
340
+ }
341
342
auto tex = get_texture(handle);
343
0 commit comments