<commit_before>//
// Created by dar on 2/29/16.
//

#ifndef C003_ENTITYFURNITURERENDER_H
#define C003_ENTITYFURNITURERENDER_H

#include <core/map/entity/EntityFurniture.h>
#include "DefaultEntityRender.h"

class EntityFurnitureRender : public DefaultEntityRender {

public:
    EntityFurnitureRender() : DefaultEntityRender("furniture", "shader") { }

    EntityFurnitureRender(int id) : EntityFurnitureRender() { this->id = id; }

protected:
    virtual int getTexPos(const Entity *const entity) override {
        if (this->id > 0) return this->id;<commit_msg>Fixed EntityFurnitureRender's texture pos with when id == 0<commit_after>//
// Created by dar on 2/29/16.
//

#ifndef C003_ENTITYFURNITURERENDER_H
#define C003_ENTITYFURNITURERENDER_H

#include <core/map/entity/EntityFurniture.h>
#include "DefaultEntityRender.h"

class EntityFurnitureRender : public DefaultEntityRender {

public:
    EntityFurnitureRender() : DefaultEntityRender("furniture", "shader") { }

    EntityFurnitureRender(int id) : EntityFurnitureRender() { this->id = id; }

protected:
    virtual int getTexPos(const Entity *const entity) override {
        if (this->id >= 0) return this->id;
{'fraction_non_alphanumeric': 0.11272416737830913, 'fraction_numerical': 0.02134927412467976, 'mean_word_length': 4.889447236180905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2638143', 'n_tokens_mistral': 408, 'n_tokens_neox': 388, 'n_words': 86}