The Dink Network

Reply to Re: Pushing

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 9th 2009, 01:37 PM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
This isn't working :/

void push (void)
{
int &dir = sp_dir(1, -1);
if (&dir == 6)
{
sp_hard(&current_sprite, 1);
draw_hard_map();
move_stop( &current_sprite, 6, 401, 1);
sp_hard(&current_sprite, 0);
draw_hard_map();
}
else
say("I can't push it in this direction...", 1);
}