Merge pull request #1460 from JapaMala/remote_reader

Smal RFR change
develop
Alan 2019-10-04 01:16:05 -04:00 committed by GitHub
commit e8fcc8d5c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

@ -1,5 +1,5 @@
#include "df_version_int.h"
#define RFR_VERSION "0.20.2"
#define RFR_VERSION "0.20.3"
#include <cstdio>
#include <time.h>
@ -1670,9 +1670,9 @@ void GetWounds(df::unit_wound * wound, UnitWound * send_wound)
static command_result GetUnitListInside(color_ostream &stream, const BlockRequest *in, UnitList *out)
{
auto world = df::global::world;
for (size_t i = 0; i < world->units.all.size(); i++)
for (size_t i = 0; i < world->units.active.size(); i++)
{
df::unit * unit = world->units.all[i];
df::unit * unit = world->units.active[i];
auto send_unit = out->add_creature_list();
send_unit->set_id(unit->id);
send_unit->set_pos_x(unit->pos.x);