diff options
Diffstat (limited to 'Stars45/WeaponDesign.cpp')
-rw-r--r-- | Stars45/WeaponDesign.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/WeaponDesign.cpp b/Stars45/WeaponDesign.cpp index fecd505..c2ca199 100644 --- a/Stars45/WeaponDesign.cpp +++ b/Stars45/WeaponDesign.cpp @@ -672,7 +672,7 @@ WeaponDesign::Find(const char* name) }
}
- for (i = 0; i < mod_catalog.size(); i++) {
+ for (int i = 0; i < mod_catalog.size(); i++) {
WeaponDesign* d = mod_catalog.at(i);
if (d->name == name) {
@@ -717,7 +717,7 @@ WeaponDesign::GetDesignList(List<Text>& designs) designs.append(&design->name);
}
- for (i = 0; i < mod_catalog.size(); i++) {
+ for (int i = 0; i < mod_catalog.size(); i++) {
WeaponDesign* design = mod_catalog[i];
designs.append(&design->name);
}
|