diff options
author | Matthew Stewart | 2018-08-02 01:50:47 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | ce42cd940a8fd3706aebc9ba79de6823939ab53b (patch) | |
tree | 18a0017d00f20c2ee77e076f19768686d9f11018 /engines/startrek/rooms/sins0.cpp | |
parent | c8335cccd3295281362b8a5f2a755fa0965d473d (diff) | |
download | scummvm-rg350-ce42cd940a8fd3706aebc9ba79de6823939ab53b.tar.gz scummvm-rg350-ce42cd940a8fd3706aebc9ba79de6823939ab53b.tar.bz2 scummvm-rg350-ce42cd940a8fd3706aebc9ba79de6823939ab53b.zip |
STARTREK: Use ARRAYSIZE macro
Diffstat (limited to 'engines/startrek/rooms/sins0.cpp')
-rw-r--r-- | engines/startrek/rooms/sins0.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/rooms/sins0.cpp b/engines/startrek/rooms/sins0.cpp index fa0c3fa20d..61db8ef338 100644 --- a/engines/startrek/rooms/sins0.cpp +++ b/engines/startrek/rooms/sins0.cpp @@ -75,7 +75,7 @@ extern const RoomAction sins0ActionList[] = { }; -extern const int sins0NumActions = sizeof(sins0ActionList) / sizeof(RoomAction); +extern const int sins0NumActions = ARRAYSIZE(sins0ActionList); void Room::sins0Tick1() { |