mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 07:28:59 +02:00
- attempt to switch CRC to use unsigned int everywhere
This commit is contained in:
@@ -787,6 +787,10 @@ int XmlAttribute::getIntValue() const {
|
||||
return strToInt(value);
|
||||
}
|
||||
|
||||
uint32 XmlAttribute::getUIntValue() const {
|
||||
return strToUInt(value);
|
||||
}
|
||||
|
||||
int XmlAttribute::getIntValue(int min, int max) const {
|
||||
int i= strToInt(value);
|
||||
if(i<min || i>max){
|
||||
|
Reference in New Issue
Block a user