aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/tony.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tony/tony.cpp')
-rw-r--r--engines/tony/tony.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp
index 2d4385a5e6..04e1a881ec 100644
--- a/engines/tony/tony.cpp
+++ b/engines/tony/tony.cpp
@@ -58,7 +58,7 @@ Common::Error TonyEngine::run() {
*/
Common::ErrorCode TonyEngine::Init() {
// Initialise the function list
- Common::fill(FuncList, FuncList + sizeof(FuncList), (LPCUSTOMFUNCTION)NULL);
+ Common::fill(FuncList, FuncList + 300, (LPCUSTOMFUNCTION)NULL);
// Initializes MPAL system, passing the custom functions list
Common::File f;