tidy-fix automàtic (sense naming)
This commit is contained in:
@@ -18,14 +18,14 @@ namespace {
|
||||
};
|
||||
|
||||
constexpr CocheFrame COCHE_FRAMES[8] = {
|
||||
{214, 152},
|
||||
{214, 104},
|
||||
{214, 56},
|
||||
{214, 104},
|
||||
{214, 152},
|
||||
{214, 8},
|
||||
{108, 152},
|
||||
{214, 8},
|
||||
{.x = 214, .y = 152},
|
||||
{.x = 214, .y = 104},
|
||||
{.x = 214, .y = 56},
|
||||
{.x = 214, .y = 104},
|
||||
{.x = 214, .y = 152},
|
||||
{.x = 214, .y = 8},
|
||||
{.x = 108, .y = 152},
|
||||
{.x = 214, .y = 8},
|
||||
};
|
||||
|
||||
constexpr int CONTADOR_MAX = 3100; // ~62 s de crèdits a 20 ms/tick
|
||||
@@ -101,7 +101,7 @@ namespace scenes {
|
||||
|
||||
void CreditsScene::writeTrickIni() {
|
||||
FILE* ini = std::fopen("trick.ini", "wb");
|
||||
if (ini) {
|
||||
if (ini != nullptr) {
|
||||
std::fwrite("1", 1, 1, ini);
|
||||
std::fclose(ini);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user