simplify stamp controls code

This commit is contained in:
Albert Cahalan 2004-12-30 17:49:02 +00:00
parent fb9350a299
commit 7e43899ffb

View file

@ -2423,9 +2423,9 @@ static void mainloop(void)
playsound(0, stamp_sound, 0); playsound(0, stamp_sound, 0);
draw_stamps(); draw_stamps();
SDL_UpdateRect(screen, WINDOW_WIDTH - 96, 0, 96, (48 * 7) + 40 + HEIGHTOFFSET); SDL_UpdateRect(screen, WINDOW_WIDTH - 96, 0, 96, (48 * 7) + 40 + HEIGHTOFFSET);
}
update_stamp_xor(); update_stamp_xor();
} }
}
else if (cur_tool == TOOL_TEXT && else if (cur_tool == TOOL_TEXT &&