diff --git a/source/game_main.cpp b/source/game_main.cpp index 923860b..5ac5cac 100644 --- a/source/game_main.cpp +++ b/source/game_main.cpp @@ -458,7 +458,6 @@ int GameMain(const CmdLineSetup_t &setup) StartMusic(0); SetupPlayers(); - // printf("How are we doing now???"); For(A, 1, numPlayers) { @@ -491,8 +490,6 @@ int GameMain(const CmdLineSetup_t &setup) p.Dead = true; } - // printf("Um, now?"); - ProcEvent(LevelStart, true); For(A, 2, maxEvents) { @@ -500,7 +497,6 @@ int GameMain(const CmdLineSetup_t &setup) ProcEvent(Events[A].Name, true); } - // printf("Merp?"); overTime = 0; GoalTime = SDL_GetTicks() + 1000; fpsCount = 0; @@ -508,9 +504,9 @@ int GameMain(const CmdLineSetup_t &setup) cycleCount = 0; gameTime = 0; - // printf("Merp??"); // Update graphics before loop begin (to process inital lazy-unpacking of used sprites) UpdateGraphics(true); + frmMain.clearBuffer(); // printf("Merp!!!"); do @@ -652,9 +648,8 @@ int GameMain(const CmdLineSetup_t &setup) GoToLevelNoGameThing = false; // Update graphics before loop begin (to process inital lazy-unpacking of used sprites) - printf("First gfx2\n"); UpdateGraphics2(true); - printf("done!\n"); + frmMain.clearBuffer(); do // 'level select loop { @@ -833,9 +828,8 @@ int GameMain(const CmdLineSetup_t &setup) gameTime = 0; // Update graphics before loop begin (to process inital lazy-unpacking of used sprites) - printf("Graphics??\n"); UpdateGraphics(true); - printf("entering main game!\n"); + frmMain.clearBuffer(); do // MAIN GAME LOOP { diff --git a/source/npc.cpp b/source/npc.cpp index 3b825b2..10c547f 100644 --- a/source/npc.cpp +++ b/source/npc.cpp @@ -2635,7 +2635,8 @@ void SpecialNPC(int A) tempLocation.X = Player[B].Location.X - tempLocation.Width + 4; if(CheckCollision(NPC[A].Location, tempLocation)) { - UpdateGraphics(true); + // weird case... + // UpdateGraphics(true); PlaySound(85); if(NPC[A].Type == 133) NPC[A].Killed = 3; diff --git a/source/npc/npc_hit.cpp b/source/npc/npc_hit.cpp index 6c50569..ca0d4f1 100644 --- a/source/npc/npc_hit.cpp +++ b/source/npc/npc_hit.cpp @@ -1713,7 +1713,8 @@ void NPCHit(int A, int B, int C) } else if(B == 10) { - UpdateGraphics(true); + // weird case + // UpdateGraphics(true); NPC[A].Immune = 10; NPC[A].Damage = NPC[A].Damage + 1; PlaySound(39); diff --git a/source/player.cpp b/source/player.cpp index d1cf039..6df3265 100644 --- a/source/player.cpp +++ b/source/player.cpp @@ -2113,7 +2113,8 @@ void TailSwipe(int plr, bool boo, bool Stab, int StabDir) PlaySound(3); // if(nPlay.Online == true && plr - 1 == nPlay.MySlot) // Netplay::sendData Netplay::PutPlayerLoc(nPlay.MySlot) + "1g" + std::to_string(plr) + "|" + Player[plr].TailCount - 1; - UpdateGraphics(true); + // weird case... + // UpdateGraphics(true); if(StabDir == 2) { BlockHit(A, true, plr);