fix land loading

actorid
greye 12 years ago
parent d1c4559abe
commit 31f7325e1f

@ -231,10 +231,7 @@ void Land::unloadData()
bool Land::condLoad(int flags, int dataFlag, void *ptr, unsigned int size)
{
if ((mDataLoaded & dataFlag) != 0) {
return false;
}
if (flags & dataFlag) {
if ((mDataLoaded & dataFlag) == 0 && (flags & dataFlag) != 0) {
mEsm->getHExact(ptr, size);
mDataLoaded |= dataFlag;
return true;

Loading…
Cancel
Save