mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-22 08:52:17 -05:00
Fix typo
This commit is contained in:
parent
125796cf8d
commit
de70658447
7
main.c
7
main.c
@ -621,7 +621,7 @@ static inline void SFG_setGamePixel(uint16_t x, uint16_t y, uint8_t colorIndex)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void SFG_recompurePLayerDirection()
|
void SFG_recomputePLayerDirection()
|
||||||
{
|
{
|
||||||
SFG_player.camera.direction =
|
SFG_player.camera.direction =
|
||||||
RCL_wrap(SFG_player.camera.direction,RCL_UNITS_PER_SQUARE);
|
RCL_wrap(SFG_player.camera.direction,RCL_UNITS_PER_SQUARE);
|
||||||
@ -1107,7 +1107,7 @@ void SFG_initPlayer()
|
|||||||
SFG_currentLevel.levelPointer->playerStart[2] *
|
SFG_currentLevel.levelPointer->playerStart[2] *
|
||||||
(RCL_UNITS_PER_SQUARE / 256);
|
(RCL_UNITS_PER_SQUARE / 256);
|
||||||
|
|
||||||
SFG_recompurePLayerDirection();
|
SFG_recomputePLayerDirection();
|
||||||
|
|
||||||
SFG_player.previousVerticalSpeed = 0;
|
SFG_player.previousVerticalSpeed = 0;
|
||||||
|
|
||||||
@ -1166,7 +1166,6 @@ void SFG_getItemSprite(
|
|||||||
{
|
{
|
||||||
case SFG_LEVEL_ELEMENT_TREE:
|
case SFG_LEVEL_ELEMENT_TREE:
|
||||||
case SFG_LEVEL_ELEMENT_RUIN:
|
case SFG_LEVEL_ELEMENT_RUIN:
|
||||||
case SFG_LEVEL_ELEMENT_LAMP:
|
|
||||||
*spriteSize = 2;
|
*spriteSize = 2;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -2716,7 +2715,7 @@ void SFG_gameStepPlaying()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (recomputeDirection)
|
if (recomputeDirection)
|
||||||
SFG_recompurePLayerDirection();
|
SFG_recomputePLayerDirection();
|
||||||
|
|
||||||
if (SFG_keyIsDown(SFG_KEY_UP))
|
if (SFG_keyIsDown(SFG_KEY_UP))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user