mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Fix dereference of null pointer warning
This commit is contained in:
parent
7af1e09151
commit
c7313606f5
@ -51,6 +51,7 @@ namespace
|
||||
{
|
||||
for (int x=0; x<128; ++x)
|
||||
{
|
||||
assert(image->data(x,y));
|
||||
*(image->data(x,y)+2) = *it++;
|
||||
*(image->data(x,y)+1) = *it++;
|
||||
*image->data(x,y) = *it++;
|
||||
|
Loading…
Reference in New Issue
Block a user