Skip to content

Commit

Permalink
Engine: fixed GfxDriverSpriteEvtCallback return value for no room case
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko committed Aug 6, 2023
1 parent 985c82f commit f90bbab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/ac/draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ bool GfxDriverSpriteEvtCallback(int evt, int data)
if (displayed_room < 0)
{
// if no room loaded, various stuff won't be initialized yet
return 1;
return false;
}
return (pl_run_plugin_hooks(evt, data) != 0);
}
Expand Down

0 comments on commit f90bbab

Please sign in to comment.