Skip to content

Commit

Permalink
MSVC always bitches about something
Browse files Browse the repository at this point in the history
  • Loading branch information
darkshade9 committed Jan 10, 2025
1 parent cb47268 commit 9bccd1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/refresh/images.c
Original file line number Diff line number Diff line change
Expand Up @@ -2065,9 +2065,9 @@ IMG_ForHandle
*/
image_t *IMG_ForHandle(qhandle_t h)
{
if (h < 0 || h >= r_numImages)
Com_EPrintf("Invalid image handle: %i (max %i) called from %s\nCurrent r_numImages: %d\nCaller address: %p\n",
h, r_numImages - 1, __func__, r_numImages, __builtin_return_address(0));
// if (h < 0 || h >= r_numImages)
// Com_EPrintf("Invalid image handle: %i (max %i) called from %s\nCurrent r_numImages: %d\nCaller address: %p\n",
// h, r_numImages - 1, __func__, r_numImages, __builtin_return_address(0));


Q_assert(h >= 0 && h < r_numImages);
Expand Down

0 comments on commit 9bccd1c

Please sign in to comment.