X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fgenericobject.cpp;h=d86c47eb93b565393dbc53fff49caeef7da89834;hb=9f3a5859378ac01648ca0caf01b04ad57c871baa;hp=0914a13c55a64787992503cdd5f6c2bd9d43a3d2;hpb=ba4d93027f7b1590f303eff2138cae413faf5c34;p=minetest.git diff --git a/src/genericobject.cpp b/src/genericobject.cpp index 0914a13c5..d86c47eb9 100644 --- a/src/genericobject.cpp +++ b/src/genericobject.cpp @@ -1,6 +1,6 @@ /* -Minetest-c55 -Copyright (C) 2012 celeron55, Perttu Ahola +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -68,7 +68,7 @@ std::string gob_cmd_update_position( std::string gob_cmd_set_texture_mod(const std::string &mod) { std::ostringstream os(std::ios::binary); - // command + // command writeU8(os, GENERIC_CMD_SET_TEXTURE_MOD); // parameters os<first); - writeS16(os, i->second); + for (const auto &armor_group : armor_groups) { + os<