Corregido el orden de ejecución update-checkEvents-render en todas las secciones del juego para evitar que el juego tarde en actualizarse cuando hay muchos eventos
This commit is contained in:
1 parent
9bb4696eb9
commit
3ece7f9ec5
13 files changed
+49
-54
No files matched your search
@@ -581,7 +581,7 @@ std::string toLower(std::string str)
|
||||
{
|
||||
const char *original = str.c_str();
|
||||
char *lower = (char *)malloc(str.size() + 1);
|
||||
for (int i = 0; i < str.size(); ++i)
|
||||
for (int i = 0; i < (int)str.size(); ++i)
|
||||
{
|
||||
char c = original[i];
|
||||
lower[i] = (c >= 65 && c <= 90) ? c + 32 : c;
|
||||
|
||||
Reference in new issue
Block a user