Fixed FRAMES macro to use ceil division

This commit is contained in:
expected-ingot
2025-06-30 00:55:55 +02:00
parent caf8c96c87
commit de87271199
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#define MAX_HAND_SIZE 16
#define MAX_DECK_SIZE 52
#define MAX_SELECTION_SIZE 5
#define FRAMES(x) ((x) / game_speed)
#define FRAMES(x) (((x) + game_speed - 1) / game_speed)
enum GameState
{