--- deliantra/server/socket/init.C 2012/11/11 04:29:11 1.74 +++ deliantra/server/socket/init.C 2018/12/01 20:22:13 1.78 @@ -1,7 +1,8 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team + * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -140,7 +141,7 @@ * for following faces in fx. */ faces_sent[0] = true; - fx_want [FT_FACE] = true; // all clients must support image faces + fx_want [FT_IMAGE] = true; // all clients must support image faces socket_ev.set (fd, EV_READ); socket_ev.prio (2); // one higher than the ticker priority @@ -206,10 +207,10 @@ * send new values to the client, as things like exp start * at zero. */ - for (int i = 0; i < array_length (last_skill_exp); i++) + for (int i = 0; i < ecb_array_length (last_skill_exp); i++) last_skill_exp[i] = -1; - for (int i = 0; i < array_length (last_resist); i++) + for (int i = 0; i < ecb_array_length (last_resist); i++) last_resist[i] = -1; last_weapon_sp = -1;