(svn r20337) -Codechange: unify the construction of objects on the map
This commit is contained in:
@@ -1804,7 +1804,7 @@ bool AfterLoadGame()
|
||||
/* Reordering/generalisation of the unmovable bits. */
|
||||
UnmovableType type = GetUnmovableType(t);
|
||||
SetUnmovableAnimationStage(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 2, 3) : 0);
|
||||
SetUnmovableOffset(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 1, 1) << 4 | GB(_m[t].m3, 0, 1) : 0);
|
||||
SetUnmovableOffset(t, type == UNMOVABLE_HQ ? GB(_m[t].m3, 1, 1) | GB(_m[t].m3, 0, 1) << 4 : 0);
|
||||
|
||||
/* Make sure those bits are clear as well! */
|
||||
_m[t].m4 = 0;
|
||||
|
Reference in New Issue
Block a user