Backport 2008-03-19T16:45:50Z!bruno@wolff.to

This commit is contained in:
Bruno Wolff III 2008-03-21 19:36:43 +00:00
parent 3aabdc3420
commit a09236ea33

View file

@ -738,7 +738,7 @@ static long location_internal_hash(wesnoth_location* obj)
// e.g. when checking all positions in a certain radius at the map border.
unsigned char x = static_cast<unsigned>(obj->location_->x);
unsigned char y = static_cast<unsigned>(obj->location_->y);
return x << 8 + y;
return (x << 8) + y;
}
static PyGetSetDef location_getseters[] = {