Fix crash in editor tile selector

git-svn-id: https://svn.eduke32.com/eduke32@7465 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-30 19:36:25 +00:00 committed by Christoph Oelckers
parent c2e0000b11
commit 8cbada19cf

View file

@ -658,7 +658,9 @@ void tileLoadData(int16_t tilenume, int32_t dasiz, char *buffer)
if (!waloff[owner]) if (!waloff[owner])
tileLoad(owner); tileLoad(owner);
if (waloff[tilenume])
tileMaybeRotate(tilenume); tileMaybeRotate(tilenume);
return; return;
} }