Browse Source

Add bugfix note to ItemSpaceOk

pull/484/head^2
Anders Jenbo 6 years ago committed by GitHub
parent
commit
284b96cb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Source/items.cpp

1
Source/items.cpp

@ -961,6 +961,7 @@ BOOL ItemSpaceOk(int i, int j)
{
int oi;
// BUGFIX: Check `i + 1 >= MAXDUNX` and `j + 1 >= MAXDUNY`
if (i < 0 || i >= MAXDUNX || j < 0 || j >= MAXDUNY)
return FALSE;

Loading…
Cancel
Save