Skip to content

Commit 4923295

Browse files
committed
xrGame: fix undefined reference to gamespy_profile::stats_submitter...
1 parent efc4558 commit 4923295

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/xrGame/atlas_submit_queue.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ void atlas_submit_queue::do_atlas_reward(
120120
VERIFY(!m_atlas_in_process);
121121

122122
m_atlas_in_process = true;
123-
123+
#ifdef WINDOWS
124124
m_stats_submitter->reward_with_award(award_id, count, profile, m_atlas_submitted);
125+
#endif
125126
}
126127

127128
void atlas_submit_queue::do_atlas_best_results(
@@ -131,8 +132,9 @@ void atlas_submit_queue::do_atlas_best_results(
131132
VERIFY(!m_atlas_in_process);
132133

133134
m_atlas_in_process = true;
134-
135+
#ifdef WINDOWS
135136
m_stats_submitter->set_best_scores(br_ptr, profile, m_atlas_submitted);
137+
#endif
136138
}
137139

138140
void atlas_submit_queue::do_atlas_submit_all(gamespy_gp::profile const* profile)

0 commit comments

Comments
 (0)