Open MatinGhanbari opened 3 months ago
Corrected the memory allocation for cardObjs by multiplying the structure size by numOfCard instead of incorrectly adding them, ensuring sufficient memory is allocated for multiple card objects and preventing potential memory issues.
Corrected the memory allocation for cardObjs by multiplying the structure size by numOfCard instead of incorrectly adding them, ensuring sufficient memory is allocated for multiple card objects and preventing potential memory issues.