Skip to content
Snippets Groups Projects
Commit 1b7b1f3f authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Fix order of operations messups by adding brackets

parent 4ada0b0a
No related branches found
No related tags found
2 merge requests!488Merge in next and don't billboard papersprites in GL,!276More accurate GIF delay
......@@ -492,7 +492,7 @@ static void GIF_framewrite(void)
// screen regions are handled in GIF_lzw
{
int d1 = (int)((100.0/NEWTICRATE)*gif_frames+1);
int d1 = (int)((100.0/NEWTICRATE)*(gif_frames+1));
int d2 = (int)((100.0/NEWTICRATE)*(gif_frames));
UINT16 delay = d1-d2;
INT32 startline;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment