X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_structured?a=blobdiff_plain;f=src%2Fserver%2Fthings.c;h=09000ed34e2073128a1442befe942c1d23ceb40c;hb=3451efffc74f1fbf2453d89e7858e71c97343c22;hp=6df9b18efe5fe32ab5bd441ac6e2232032540fcf;hpb=891ba8fbca53d920f6b3704827fa6b8aee737de4;p=plomrogue diff --git a/src/server/things.c b/src/server/things.c index 6df9b18..09000ed 100644 --- a/src/server/things.c +++ b/src/server/things.c @@ -112,7 +112,7 @@ extern struct Thing * add_thing(int16_t id, uint8_t type, uint8_t y, uint8_t x) { struct Thing * t; t = (struct Thing *) add_to_struct_list(sizeof(struct Thing), 0, id, 0, - (struct NextAndId **) &world.things); + (struct NextAndId **)&world.things); struct ThingType * tt = get_thing_type(type); set_cleanup_flag(CLEANUP_THINGS); t->type = tt->id;