From cf4042acceb44e8851b48ba0b7225cab60a15986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 28 Feb 2010 02:07:42 +0100 Subject: [PATCH] Fix header and code desync --- library/DFHackAPI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/DFHackAPI.cpp b/library/DFHackAPI.cpp index 67caac0f1..7d44cc316 100644 --- a/library/DFHackAPI.cpp +++ b/library/DFHackAPI.cpp @@ -1102,8 +1102,8 @@ bool API::ReadHotkeys(t_hotkey hotkeys[]) } // returns index of creature actually read or -1 if no creature can be found int32_t API::ReadCreatureInBox (int32_t index, t_creature & furball, - const uint16_t &x1, const uint16_t &y1, const uint16_t &z1, - const uint16_t &x2, const uint16_t &y2, const uint16_t &z2) + const uint16_t x1, const uint16_t y1, const uint16_t z1, + const uint16_t x2, const uint16_t y2, const uint16_t z2) { if (!d->creaturesInited) return -1; uint16_t coords[3];