Skip to content

Commit 32a0bba

Browse files
author
nitrocaster
committed
Fix incorrect virtual function implementation.
1 parent d2ebd7d commit 32a0bba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/xrServerEntities/xrServer_Objects_Abstract.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ class IServerEntity {
119119
};
120120

121121
virtual ~IServerEntity() = 0;
122-
122+
// XXX: move to implementation
123123
Flags32 m_editor_flags;
124-
virtual void set_editor_flag(u32 mask) = 0;
124+
void set_editor_flag(u32 mask) { m_editor_flags.set(mask, TRUE); }
125125

126126
public:
127127
virtual void __stdcall Spawn_Write (NET_Packet &tNetPacket, BOOL bLocal) = 0;
@@ -147,7 +147,6 @@ class IServerEntity {
147147
};
148148

149149
IC IServerEntity::~IServerEntity() {}
150-
IC void IServerEntity::set_editor_flag(u32 mask) { m_editor_flags.set(mask, TRUE); }
151150

152151
#pragma warning(pop)
153152

0 commit comments

Comments
 (0)