mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 11:20:56 +00:00
AGS: Make turnlooporder array const
This commit is contained in:
parent
c133fec9eb
commit
d605b11c4f
@ -1564,7 +1564,7 @@ int Character_GetSpeakingFrame(CharacterInfo *chaa) {
|
||||
//=============================================================================
|
||||
|
||||
// order of loops to turn character in circle from down to down
|
||||
int turnlooporder[8] = {0, 6, 1, 7, 3, 5, 2, 4};
|
||||
const int turnlooporder[8] = {0, 6, 1, 7, 3, 5, 2, 4};
|
||||
|
||||
void walk_character(int chac, int tox, int toy, int ignwal, bool autoWalkAnims) {
|
||||
CharacterInfo *chin = &_GP(game).chars[chac];
|
||||
|
@ -220,7 +220,7 @@ Rect GetCharacterRoomBBox(int charid, bool use_frame_0 = false);
|
||||
PViewport FindNearestViewport(int charid);
|
||||
|
||||
// order of loops to turn character in circle from down to down
|
||||
extern int turnlooporder[8];
|
||||
extern const int turnlooporder[8];
|
||||
|
||||
} // namespace AGS3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user