From a61f969d26ab198f1eff412eeefd5a008a32a3db Mon Sep 17 00:00:00 2001 From: qndel Date: Thu, 12 Nov 2020 13:09:13 +0100 Subject: [PATCH] fix typos (#914) --- Source/scrollrt.cpp | 2 +- SourceX/controls/plrctrls.cpp | 2 +- SourceX/storm/storm.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/scrollrt.cpp b/Source/scrollrt.cpp index d0022d672..0d3ee4df6 100644 --- a/Source/scrollrt.cpp +++ b/Source/scrollrt.cpp @@ -622,7 +622,7 @@ static void DrawItem(int x, int y, int sx, int sy, BOOL pre) } /** - * @brief Check if and how a mosnter should be rendered + * @brief Check if and how a monster should be rendered * @param y dPiece coordinate * @param x dPiece coordinate * @param oy dPiece Y offset diff --git a/SourceX/controls/plrctrls.cpp b/SourceX/controls/plrctrls.cpp index dfd0930e8..992e3b13d 100644 --- a/SourceX/controls/plrctrls.cpp +++ b/SourceX/controls/plrctrls.cpp @@ -187,7 +187,7 @@ bool CanTargetMonster(int mi) const int mx = monst._mx; const int my = monst._my; - if (!(dFlags[mx][my] & BFLAG_LIT)) // not visable + if (!(dFlags[mx][my] & BFLAG_LIT)) // not visible return false; if (dMonster[mx][my] == 0) return false; diff --git a/SourceX/storm/storm.cpp b/SourceX/storm/storm.cpp index 2e2d93bff..ad63e02b0 100644 --- a/SourceX/storm/storm.cpp +++ b/SourceX/storm/storm.cpp @@ -771,7 +771,7 @@ BOOL SVidPlayContinue(void) double now = SDL_GetTicks() * 1000; if (now < SVidFrameEnd) { - SDL_Delay((SVidFrameEnd - now) / 1000); // wait with next frame if the system is to fast + SDL_Delay((SVidFrameEnd - now) / 1000); // wait with next frame if the system is too fast } return SVidLoadNextFrame();