Eye rotation fix

This commit is contained in:
korenkonder
2023-03-06 00:23:38 +03:00
parent b4c8969f96
commit 7e80deacb5
26 changed files with 75 additions and 69 deletions
+2 -2
View File
@@ -868,14 +868,14 @@ namespace spr {
if (set)
set->ReadFile(file, mdata_dir, data);
}
void SpriteManager::ReadFile(int32_t index,
const char* file, std::string&& mdata_dir, void* data) {
SprSet* set = GetSet(index);
if (set)
set->ReadFile(file, mdata_dir, data);
}
void SpriteManager::ResetIndex() {
index = 0;
}