(svn r1979) Const correctness

This commit is contained in:
tron
2005-03-09 21:54:52 +00:00
parent 9bd079d425
commit e5121e70d0
5 changed files with 18 additions and 21 deletions

View File

@@ -281,7 +281,7 @@ void UpdateTrainAcceleration(Vehicle *v)
v->acceleration = clamp(power / weight * 4, 1, 255);
}
int GetTrainImage(Vehicle *v, byte direction)
int GetTrainImage(const Vehicle *v, byte direction)
{
int img = v->spritenum;
int base;