This commit is contained in:
DepressedTWM 2026-08-19 20:00:05 +04:00
parent 9f418eda9b
commit 37711218d7
2 changed files with 2 additions and 4 deletions

View file

@ -49,7 +49,8 @@ class Window_SaveFile < Window_Base
# If save file exists
if @file_exist
# Draw character
for i in 0...@characters.size
#for i in 0...@characters.size
(0...@characters.size).each do |i|
bitmap = RPG::Cache.character(@characters[i][0], @characters[i][1])
cw = bitmap.rect.width / 4
ch = bitmap.rect.height / 4

View file

@ -150,9 +150,6 @@ static void setupWindowIcon(const Config &conf, SDL_Window *win){
}
int main(int argc, char *argv[]){
//I WANT FUCKING OPTIMIZE EVERYFING IN THIS BULLSHIT
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
startTime = boost::chrono::high_resolution_clock::now();
loadLanguageMetadata(); //there will be a segfault on fclose if I don't move it here
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");