Skip to content

Commit

Permalink
Fixed|Doom: Missing splats on DOOM intermission screens
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Dec 18, 2012
1 parent 3369615 commit 598d45d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/plugins/jdoom/src/wi_stuff.c
Expand Up @@ -371,8 +371,8 @@ static boolean patchFits(patchid_t patchId, int x, int y)
patchinfo_t info;
if(!R_GetPatchInfo(patchId, &info)) return false;

left = x - info.geometry.origin.x;
top = y - info.geometry.origin.y;
left = x + info.geometry.origin.x;
top = y + info.geometry.origin.y;
right = left + info.geometry.size.width;
bottom = top + info.geometry.size.height;
return (left >= 0 && right < SCREENWIDTH && top >= 0 && bottom < SCREENHEIGHT);
Expand Down

0 comments on commit 598d45d

Please sign in to comment.