mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +00:00
Merge branch 'gccwarn' into controllerfixup
This commit is contained in:
commit
f9357e7fca
99 changed files with 1238 additions and 792 deletions
|
@ -63,9 +63,10 @@ void Precacher::loadTextureRange(const std::string &file, const std::string &typ
|
|||
std::ostringstream os;
|
||||
os << file;
|
||||
|
||||
for (int j = 0; j < 4 - num_os.str().size(); j++)
|
||||
{
|
||||
os << "0";
|
||||
if(num_os.str().size() <= 4) {
|
||||
for (size_t j = 0; j < 4 - num_os.str().size(); j++) {
|
||||
os << "0";
|
||||
}
|
||||
}
|
||||
|
||||
os << t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue