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