equal
deleted
inserted
replaced
458 DrawSprite(wdts->image + PLAYER_SPRITE_COLOR(_local_player), x + pt.x, y + pt.y); |
458 DrawSprite(wdts->image + PLAYER_SPRITE_COLOR(_local_player), x + pt.x, y + pt.y); |
459 } |
459 } |
460 } |
460 } |
461 |
461 |
462 |
462 |
463 static uint GetSlopeZ_Water(TileInfo *ti) |
463 static uint GetSlopeZ_Water(const TileInfo* ti) |
464 { |
464 { |
465 return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; |
465 return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; |
466 } |
466 } |
467 |
467 |
468 static uint GetSlopeTileh_Water(const TileInfo *ti) |
468 static uint GetSlopeTileh_Water(const TileInfo *ti) |
469 { |
469 { |
470 return ti->tileh; |
470 return ti->tileh; |