about summary refs log tree commit diff
path: root/src/tools/map_resave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/map_resave.cpp')
-rw-r--r--src/tools/map_resave.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/map_resave.cpp b/src/tools/map_resave.cpp
index f7d6e18d..d97f0323 100644
--- a/src/tools/map_resave.cpp
+++ b/src/tools/map_resave.cpp
@@ -7,7 +7,7 @@
 int main(int argc, const char **argv)
 {
 	IStorage *pStorage = CreateStorage("Teeworlds", argc, argv);
-	int Index, Id = 0, Type = 0, Size;
+	int Index, ID = 0, Type = 0, Size;
 	void *pPtr;
 	char aFileName[1024];
 	CDataFileReader DataFile;
@@ -26,9 +26,9 @@ int main(int argc, const char **argv)
 	// add all items
 	for(Index = 0; Index < DataFile.NumItems(); Index++)
 	{	
-		pPtr = DataFile.GetItem(Index, &Type, &Id);
+		pPtr = DataFile.GetItem(Index, &Type, &ID);
 		Size = DataFile.GetItemSize(Index);
-		df.AddItem(Type, Id, Size, pPtr);
+		df.AddItem(Type, ID, Size, pPtr);
 	}
 
 	// add all data