Skip to content

Commit

Permalink
fix typos (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
qndel committed Jan 2, 2024
1 parent a982e4c commit 2aa3919
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Source/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2627,7 +2627,7 @@ void mem_free_dbg(void *p)
}

/**
* @brief Load a file in to a buffer
* @brief Load a file into a buffer
* @param pszName Path of file
* @param pdwFileLen Will be set to file size if non-NULL
* @return Buffer with content of file
Expand Down Expand Up @@ -2656,7 +2656,7 @@ BYTE *LoadFileInMem(const char *pszName, DWORD *pdwFileLen)
}

/**
* @brief Load a file in to the given buffer
* @brief Load a file into the given buffer
* @param pszName Path of file
* @param p Target buffer
* @return Size of file
Expand Down
4 changes: 2 additions & 2 deletions Source/pack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ void PackPlayer(PkPlayerStruct *pPack, int pnum, BOOL manashield)
}

/**
* Expand a PkItemStruct in to a ItemStruct
* Expand a PkItemStruct into an ItemStruct
*
* Note: last slot of item[MAXITEMS+1] used as temporary buffer
* find real name reference below, possibly [sizeof(item[])/sizeof(ItemStruct)]
* @param is The source packed item
* @param id The distination item
* @param id The destination item
*/
#ifndef HELLFIRE
static
Expand Down
2 changes: 1 addition & 1 deletion structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ typedef struct MonsterStruct { // note: missing field _mAFNum
int _mxvel; // Pixel X-velocity while walking. Applied to _mxoff
int _myvel; // Pixel Y-velocity while walking. Applied to _myoff
int _mdir; // Direction faced by monster (direction enum)
int _menemy; // The current target of the mosnter. An index in to either the plr or monster array based on the _meflag value.
int _menemy; // The current target of the monster. An index into either the plr or monster array based on the _meflag value.
unsigned char _menemyx; // X-coordinate of enemy (usually correspond's to the enemy's futx value)
unsigned char _menemyy; // Y-coordinate of enemy (usually correspond's to the enemy's futy value)
short falign_52; // probably _mAFNum (unused)
Expand Down

0 comments on commit 2aa3919

Please sign in to comment.