Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ForserX committed Mar 4, 2025
1 parent ac69b8b commit 703b028
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/Editors/LevelEditor/UI/UITopBarForm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
UITopBarForm::UITopBarForm()
{
m_tUndo = EDevice->Resources->_CreateTexture("ed\\bar\\Undo");
m_timeUndo = 0;
m_tRedo = EDevice->Resources->_CreateTexture("ed\\bar\\Redo");
m_timeRedo = 0;
m_tNew = EDevice->Resources->_CreateTexture("ed\\bar\\new");
m_tOpen = EDevice->Resources->_CreateTexture("ed\\bar\\open");
m_tSave = EDevice->Resources->_CreateTexture("ed\\bar\\save");
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/Xr_ini.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ void CInifile::save_as (IWriter& writer, bool bcheck) const
if(bcheck)
{
xr_sprintf (temp, sizeof(temp), "; %d %d %d", (*r_it)->Name._get()->dwCRC,
(*r_it)->Name._get()->dwReference,
(*r_it)->Name._get()->dwReference.load(),
(*r_it)->Name._get()->dwLength);
writer.w_string (temp);
}
Expand Down
4 changes: 2 additions & 2 deletions src/xrCore/shared_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct str_container_impl
str_value* value = buffer[i];
while (value)
{
fprintf(f, "ref[%4d]-len[%3d]-crc[%8X] : %s\n", value->dwReference, value->dwLength, value->dwCRC, value->value);
fprintf(f, "ref[%4d]-len[%3d]-crc[%8X] : %s\n", value->dwReference.load(), value->dwLength, value->dwCRC, value->value);
value = value->next;
}
}
Expand All @@ -114,7 +114,7 @@ struct str_container_impl
string4096 temp;
while (value)
{
xr_sprintf(temp, sizeof(temp), "ref[%4d]-len[%3d]-crc[%8X] : %s\n", value->dwReference, value->dwLength, value->dwCRC, value->value);
xr_sprintf(temp, sizeof(temp), "ref[%4d]-len[%3d]-crc[%8X] : %s\n", value->dwReference.load(), value->dwLength, value->dwCRC, value->value);
f->w_string(temp);
value = value->next;
}
Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/xrCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@

#include "_stl_extensions.h"
#include "xrsharedmem.h"
#include "_thread_types.h"
#include "shared_string.h"
#include "xrstring.h"
#include "_thread_types.h"
#include "xr_resource.h"
#include "rt_compressor.h"
#include "xr_shared.h"
Expand Down

0 comments on commit 703b028

Please sign in to comment.