Fix object movement broken by BOOL change

Somebody thought it would be a good idea to use a BOOL as if it was an int.
Hint: It is not.
Günther Brammer 2009-08-26 01:21:54 +02:00
parent 6ca2ed3b6a
commit 337b9eb2d7
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ void C4Object::VerticalBounds(int32_t &ctcoy)
void C4Object::DoMovement()
{
int32_t ctcox,ctcoy,ctcor/*,ctx,cty*/,iContact=0;
bool fAnyContact=false, iContacts = 0;
bool fAnyContact=false; int iContacts = 0;
BYTE fTurned=0,fRedirectYR=0,fNoAttach=0;
// Restrictions
if (Def->NoHorizontalMove) xdir=0;