(svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT

This commit is contained in:
tron
2005-11-14 08:09:57 +00:00
parent b34de09e62
commit 524fd25cbd
20 changed files with 72 additions and 76 deletions

View File

@@ -356,8 +356,8 @@ static void CheckShipLeaveDepot(Vehicle *v)
} else {
return;
}
v->direction = (byte)m;
v->u.ship.state = (byte)(m >> 8);
v->direction = GB(m, 0, 8);
v->u.ship.state = GB(m, 8, 8);
v->vehstatus &= ~VS_HIDDEN;
v->cur_speed = 0;