The Bus: fix boom position

git-svn-id: svn://kolibrios.org@6996 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2017-09-19 14:02:04 +00:00
parent cd1a41c60e
commit 4316d5b6f0

View File

@ -52,7 +52,7 @@ int active_menu_item=0;
«¥¢®/¯à ¢® ¨«¨ <EFBFBD>஡¥«
Š« ¢¨è  P áâ ¢¨â ­  ¯ ã§ã'tI"
#define ABOUT_TEXT "'Œ àèàã⪠
¥àá¨ï v1.0
¥àá¨ï v1.01
ë£à ©â¥ §  ¤¥à᪮£® ¬ àèàãâ稪 ,
ª®â®àë© ­¥á¥âáï ¤®¬®© ¯®á«¥ ᬥ­ë.
@ -80,7 +80,7 @@ Control keys:
Left, Right, Space
Press P key for pause'tI"
#define ABOUT_TEXT "'The Bus
Version v1.0
Version v1.01
Author: Leency
Menu image from Freepik.com'tI"
#define PAUSE_TEXT "PAUSE"
@ -202,10 +202,10 @@ void main()
default:
if (screen_type==SCR_GAME)
{
if ((don_x == bus_x)&&(don_y + don_h > bus_y )&&(don_y < bus_y + don_h ) {
if ((don_x == bus_x)&&(don_y + don_h > bus_y )&&(don_y < bus_y + don_h )) {
lives--;
DrawBus(bus_x*80+200,bus_y);
DrawBoom(bus_x*80+180,302);
DrawBoom(bus_x*80+180,bus_y+10);
pause(150);
GetNewObstacle(RAND);
DrawScreen();