mirror of
https://github.com/glest/glest-source.git
synced 2025-08-14 20:34:01 +02:00
Test fix for OOS message
This commit is contained in:
@@ -2270,8 +2270,10 @@ namespace Shared {
|
|||||||
if (value == 0) //workaround
|
if (value == 0) //workaround
|
||||||
return;
|
return;
|
||||||
map<const void *, int32>::const_iterator iterFind = vaultList.find(ptr);
|
map<const void *, int32>::const_iterator iterFind = vaultList.find(ptr);
|
||||||
if (iterFind != vaultList.end() && iterFind->second != value)
|
if (iterFind != vaultList.end()) {
|
||||||
notifyValueChangedUnexpectedly(value, iterFind->second);
|
if (iterFind->second != 0 && iterFind->second != value)
|
||||||
|
notifyValueChangedUnexpectedly(value, iterFind->second);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user