Fixes invalid read when using fill tool in empty tilemap
Created by: timothyqiu
This fixes #34854 (closed)
- Checks the cache index.
- Uses
NULL
instead of 0 when assigning to the pointer.
Created by: timothyqiu
This fixes #34854 (closed)
NULL
instead of 0 when assigning to the pointer.