Browse Source

fix typos (#914)

pull/917/head
qndel 5 years ago committed by GitHub
parent
commit
a61f969d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/scrollrt.cpp
  2. 2
      SourceX/controls/plrctrls.cpp
  3. 2
      SourceX/storm/storm.cpp

2
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

2
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;

2
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();

Loading…
Cancel
Save